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/templates/nginx/sites-available/default_http.j2

14 lines
345 B
Text
Raw Normal View History

2020-11-02 04:51:35 +01:00
server {
listen 80 default_server;
listen [::]:80 default_server;
access_log /var/log/nginx/log_{{ inventory_hostname }}.access.log;
error_log /var/log/nginx/log_{{ inventory_hostname }}.error.log;
2020-11-02 04:51:35 +01:00
include snippets/acmetool.snippet.conf;
location ^~ / {
return 403;
2020-11-02 04:51:35 +01:00
}
}