Twan07 commited on
Commit
01012ff
·
verified ·
1 Parent(s): 1731536

Update nginx/nginx.conf

Browse files
Files changed (1) hide show
  1. nginx/nginx.conf +3 -2
nginx/nginx.conf CHANGED
@@ -1,12 +1,13 @@
1
  # ===== REQUIRED =====
2
  events {}
3
 
4
- # ===== HTTP =====
5
  http {
6
- # Temp paths (chạy được với user node)
7
  client_body_temp_path /home/node/app/nginx/tmp/body;
8
  proxy_temp_path /home/node/app/nginx/tmp/proxy;
9
  fastcgi_temp_path /home/node/app/nginx/tmp/fastcgi;
 
 
10
 
11
  server {
12
  listen 7860;
 
1
  # ===== REQUIRED =====
2
  events {}
3
 
 
4
  http {
5
+ # ===== OVERRIDE ALL TEMP PATHS =====
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;