Spaces:
Running
Running
Update nginx/nginx.conf
Browse files- nginx/nginx.conf +5 -1
nginx/nginx.conf
CHANGED
|
@@ -2,13 +2,17 @@
|
|
| 2 |
events {}
|
| 3 |
|
| 4 |
http {
|
| 5 |
-
# =====
|
| 6 |
client_body_temp_path /home/node/app/nginx/tmp/body;
|
| 7 |
proxy_temp_path /home/node/app/nginx/tmp/proxy;
|
| 8 |
fastcgi_temp_path /home/node/app/nginx/tmp/fastcgi;
|
| 9 |
uwsgi_temp_path /home/node/app/nginx/tmp/uwsgi;
|
| 10 |
scgi_temp_path /home/node/app/nginx/tmp/scgi;
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
server {
|
| 13 |
listen 7860;
|
| 14 |
|
|
|
|
| 2 |
events {}
|
| 3 |
|
| 4 |
http {
|
| 5 |
+
# ===== TEMP PATHS (NON-ROOT SAFE) =====
|
| 6 |
client_body_temp_path /home/node/app/nginx/tmp/body;
|
| 7 |
proxy_temp_path /home/node/app/nginx/tmp/proxy;
|
| 8 |
fastcgi_temp_path /home/node/app/nginx/tmp/fastcgi;
|
| 9 |
uwsgi_temp_path /home/node/app/nginx/tmp/uwsgi;
|
| 10 |
scgi_temp_path /home/node/app/nginx/tmp/scgi;
|
| 11 |
|
| 12 |
+
# ===== LOG PATHS (NON-ROOT SAFE) =====
|
| 13 |
+
access_log /home/node/app/nginx/logs/access.log;
|
| 14 |
+
error_log /home/node/app/nginx/logs/error.log warn;
|
| 15 |
+
|
| 16 |
server {
|
| 17 |
listen 7860;
|
| 18 |
|