ansible-role-webserver/templates/00-tls-redirect.nginx

13 lines
152 B
Plaintext
Raw Normal View History

2020-07-21 02:22:32 +02:00
server {
listen [::]:80;
listen 80;
server_name _;
location / {
return 301 https://$host$request_uri;
}
include snippets/letsencrypt.conf;
}