nginx.vhost.j2 327 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
server {
    listen  80;
    server_name {{ nomad_fqdn }} {{ hostname }};
    root {{ nomad_root }};

    location /download/ { alias {{ nomad_content_path }}/; }

    location /hotspot-static/ { alias {{ common_static_path }}/; expires 1y; }
    location /502.html { internal; root /var/www; }
    error_page 502 /502.html;
}