Skip to content

Commit 01d0da8

Browse files
committed
Added custom nginx conf.
1 parent 38e37dd commit 01d0da8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

nginx.conf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
server {
2+
listen 80;
3+
location / {
4+
root /usr/share/nginx/html;
5+
index index.html index.htm;
6+
try_files $uri $uri/ /index.html;
7+
}
8+
error_page 404 /index.html;
9+
location = / {
10+
root /usr/share/nginx/html;
11+
internal;
12+
}
13+
error_page 500 502 503 504 /50x.html;
14+
location = /50x.html {
15+
root /usr/share/nginx/html;
16+
}
17+
}

0 commit comments

Comments
 (0)