1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_nginx.git synced 2024-08-16 16:19:48 +02:00
ansible_role_nginx/files/nginx/sites-available/vhost_tls.conf.j2
2021-02-27 00:46:37 +01:00

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;
}
}