mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
10 lines
241 B
Django/Jinja
10 lines
241 B
Django/Jinja
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
include snippets/acmetool.snippet.conf;
|
|
|
|
location ^~ / {
|
|
return 308 https://{{ inventory_hostname }}$request_uri;
|
|
}
|
|
}
|