Hello everyone, i hope to have some answers in case of the following:
It looks like redirects from http to https are not working.
sudo nginx -V
nginx version: nginx/1.19.2
built by gcc 8.3.0 (Debian 8.3.0-6)
built with OpenSSL 1.1.1g 21 Apr 2020
TLS SNI support enabled
configure arguments: --sbin-path=/usr/local/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/run/nginx.pid --with-http_ssl_module --with-http_v2_module --with-ipv6 --with-stream --with-pcre=../pcre-8.44 --with-zlib=../zlib-1.2.11 --with-openssl=/home/beheer/nginx/openssl-1.1.1g --without-http_empty_gif_module --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx
attached is an output of nginx -T
when i preform the following security headers test noting happens:
https://securityheaders.com/?q=beeksnetwork.nl&followRedirects=on
when i preform the following test:
https://internet.nl/site/beeksnetwork.nl/
it tells me that:
1. Your web server does offer support for both HTTP and HTTPS, but does not automatically redirect visitors from HTTP to HTTPS on the same domain.
2. Your web server does not offer an HSTS policy.
What i am i missing?
Hope to hear from you all.
Thanks in advance, and keep up the great work you all do.
--
Mark
Attachments:
open |
download -
full_nginx_config_output.txt
(7.8 KB)