| worker_processes 1; | |
| # Write pid to /tmp (writable by non-root) | |
| pid /tmp/nginx.pid; | |
| events { worker_connections 1024; } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; | |
| sendfile on; | |
| keepalive_timeout 65; | |
| server { | |
| listen 7860; | |
| server_name localhost; | |
| root /usr/share/nginx/html; | |
| index index.html; | |
| location / { | |
| try_files $uri /index.html; | |
| } | |
| } | |
| } |