nginx.conf 240 Bytes
Newer Older
1
2
3
4
5
server {
    listen       80;
    listen  [::]:80;
    server_name  localhost;

Hervé Ménager's avatar
Hervé Ménager committed
6
7
    root   /usr/share/nginx/html;

8
    location / {
Hervé Ménager's avatar
Hervé Ménager committed
9
        try_files $uri $uri/index.html /index.html;
10
11
12
13
14
15
    }

    error_page   500 502 503 504  /50x.html;
}