Michael Hwang | d2a9bf7 | 2018-07-12 17:17:34 -0400 | [diff] [blame] | 1 | worker_processes 1; |
2 | |||||
3 | events { | ||||
4 | worker_connections 1024; | ||||
5 | } | ||||
6 | |||||
7 | http { | ||||
8 | include mime.types; | ||||
9 | default_type application/octet-stream; | ||||
10 | |||||
11 | sendfile on; | ||||
12 | |||||
13 | keepalive_timeout 65; | ||||
14 | |||||
15 | server { | ||||
16 | listen 80; | ||||
17 | root /usr/share/nginx/html; | ||||
18 | index index.html index.htm; | ||||
19 | location / { | ||||
20 | try_files $uri $uri/ /index.html =404; | ||||
21 | } | ||||
22 | } | ||||
23 | } |