summaryrefslogtreecommitdiffstats
path: root/roles/common-web/files/etc/nginx/sites-available/default
blob: 6df16158fe225bd80a41da5f8010f0a8a6af6726 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
}