Add https_redirect

This commit is contained in:
David Leutgeb 2024-10-17 13:53:24 +02:00
parent 20852782cf
commit e1ff8be6f5

9
https_redirect Normal file
View File

@ -0,0 +1,9 @@
# default http -> https redirect
server {
listen 80 default_server;
server_name _;
location / {
return 301 https://$host$request_uri;
}
}