aboutsummaryrefslogtreecommitdiffstats
path: root/nginx.conf
blob: 3217e803b69c1815da588534fb0cc9df2386e8ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
server {
    listen       80;
    listen  [::]:80;
    server_name _;

    root /usr/share/nginx/html;
    index index.html index.htm;

    location / {
        try_files $uri $uri/ =404;
    }

    error_page 404 /404.html;
    location = /404.html {
        internal;
    }
}