summaryrefslogtreecommitdiffstats
path: root/roles/common-web/files/etc/nginx/sites-available/default
blob: 6cbea182c0e7a7867bb547114f25020551f3a81c (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;
}