mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
14 lines
379 B
Django/Jinja
14 lines
379 B
Django/Jinja
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;
|
|
}
|
|
}
|