| worker_processes auto; |
| pid /tmp/nginx.pid; |
| error_log /dev/stderr notice; |
|
|
| events { worker_connections 1024; } |
|
|
| http { |
| access_log /dev/stdout; |
|
|
| client_body_temp_path /tmp/nginx/client_temp; |
| proxy_temp_path /tmp/nginx/proxy_temp; |
| fastcgi_temp_path /tmp/nginx/fastcgi_temp; |
| uwsgi_temp_path /tmp/nginx/uwsgi_temp; |
| scgi_temp_path /tmp/nginx/scgi_temp; |
|
|
| sendfile on; |
| keepalive_timeout 65; |
|
|
| server { |
| listen 8080; |
| server_name _; |
|
|
| location / { |
| proxy_set_header Host $host; |
| proxy_set_header X-Real-IP $remote_addr; |
| proxy_pass http://127.0.0.1:3000; |
| } |
| } |
| } |
|
|