sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame^] | 1 | server { |
2 | |||||
3 | listen 80; | ||||
4 | |||||
5 | location / { | ||||
6 | root /usr/share/nginx/html; | ||||
7 | index index.html index.htm; | ||||
8 | try_files $uri $uri/ /index.html; | ||||
9 | } | ||||
10 | |||||
11 | error_page 500 502 503 504 /50x.html; | ||||
12 | |||||
13 | location = /50x.html { | ||||
14 | root /usr/share/nginx/html; | ||||
15 | } | ||||
16 | |||||
17 | } |