Simple nginx config for static site
| user root; | |
| worker_processes 4; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; | |
| keepalive_timeout 65; | |
| server { | |
| listen 3006; | |
| server_name localhost; | |
| location / { | |
| root /home/dsock/rust/projects/server/public/; | |
| index index.html index.htm; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment