summaryrefslogtreecommitdiffstats
path: root/roles/common-web/files/etc/nginx/sites-available/default
blob: 63c7910cdb46194bbd62559e9ac106ec8b88d6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
server {
	listen 80 default_server;
	listen [::]:80 default_server;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log info;

    # serve ACME challenges on all virtual hosts
    # /!\ need to be served individually for each explicit virtual host as well!
    include snippets/acme-challenge.conf;
    include snippets/headers.conf;
}