diff options
| author | the lemons <citrons@mondecitronne.com> | 2022-02-05 14:32:35 -0600 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2022-02-05 14:34:10 -0600 |
| commit | 0a80a22b8a9d624c83a6e63a0b853ba42e8c3bc0 (patch) | |
| tree | 024722d4f0c823eb45e04c6a5466b599ce235dbb /debug/nginx.conf | |
it exists
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/; + } + } +} + |
