nginx.role/templates/http_redirect.conf.j2

11 lines
199 B
Text
Raw Permalink Normal View History

2024-09-17 00:47:41 +02:00
#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
server {
listen 80 default_server;
listen [::]:80 default_server;
location / {
return 301 https://$host$request_uri;
}
}