summaryrefslogtreecommitdiffstats
path: root/roles/common-web/files/etc/nginx/sites-available/default
blob: cae8fc06ef5620da23ac090ed43e8dff09c2eaec (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 /etc/lacme/nginx.conf;
    include snippets/headers.conf;
}