mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
15 lines
379 B
Text
15 lines
379 B
Text
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
|
||
|
server_name {{ site.name }};
|
||
|
|
||
|
include snippets/tls-parameters_global.snippet.conf;
|
||
|
include snippets/{{ site.name }}_certificate_site.snippet.conf;
|
||
|
include snippets/{{ site.name }}_logging_site.snippet.conf;
|
||
|
|
||
|
location ^~ / {
|
||
|
return 403;
|
||
|
}
|
||
|
}
|