default_nginx_configs/https_redirect

9 lines
162 B
Plaintext
Raw Normal View History

2024-10-17 13:53:24 +02:00
# default http -> https redirect
server {
listen 80 default_server;
server_name _;
location / {
return 301 https://$host$request_uri;
}
}