diff options
Diffstat (limited to 'debug/nginx.conf')
-rw-r--r-- | debug/nginx.conf | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/debug/nginx.conf b/debug/nginx.conf new file mode 100644 index 0000000..1ff0baf --- /dev/null +++ b/debug/nginx.conf @@ -0,0 +1,36 @@ +pid nginx.pid; +worker_processes auto; + +events { + worker_connections 768; + # multi_accept on; +} + +http { + access_log access.log; + error_log error.log; + + sendfile on; + tcp_nopush on; + types_hash_max_size 2048; + + include /etc/nginx/mime.types; + default_type application/octet-stream; + + gzip off; + + server { + listen 8080; + + location ~ ^(?<path>.*) { + fastcgi_param PATH_INFO $path; + include /tmp/fastcgi_conf; + include /etc/nginx/fastcgi_params; + } + + location ^~ /static/ { + alias ../static/; + } + } +} + |