Spaces:
Sleeping
Sleeping
File size: 863 Bytes
fa7ec17 1c7bae6 fa7ec17 ea05553 102c754 ca48e74 01012ff ca48e74 102c754 ea05553 ca48e74 fa7ec17 ea05553 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # ===== REQUIRED =====
pid /home/node/app/nginx/nginx.pid;
events {}
http {
# ===== TEMP PATHS (NON-ROOT SAFE) =====
client_body_temp_path /home/node/app/nginx/tmp/body;
proxy_temp_path /home/node/app/nginx/tmp/proxy;
fastcgi_temp_path /home/node/app/nginx/tmp/fastcgi;
uwsgi_temp_path /home/node/app/nginx/tmp/uwsgi;
scgi_temp_path /home/node/app/nginx/tmp/scgi;
# ===== LOG PATHS (NON-ROOT SAFE) =====
access_log /home/node/app/nginx/logs/access.log;
error_log /home/node/app/nginx/logs/error.log warn;
server {
listen 7860;
location /api/ {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location / {
proxy_pass http://127.0.0.1:5173;
}
}
}
|