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