default_nginx_configs/https_redirect
2024-10-17 13:53:24 +02:00

9 lines
162 B
Plaintext

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