Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

redirects not working http to https

$
0
0
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

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>