summaryrefslogtreecommitdiff
path: root/nginx-default.conf
blob: 73194495d3b4191cc7664a708cae2275bdb27bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
server {
    listen       443 ssl;
    server_name  _;

    ssl_certificate /etc/ssl/dashboard/soc_dashboard.pem;
    ssl_certificate_key /etc/ssl/dashboard/soc_dashboard-key.pem;

    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm;
        try_files $uri /index.html;
    }

    error_page   500 502 503 504  /50x.html;

    location = /50x.html {
        root   /usr/share/nginx/html;
    }
}