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