Node Security Setup
Reverse Proxy
NGINX Reverse Proxy
location /some/path/ {
proxy_pass http://www.example.com/link/;
}location /some/path/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://localhost:8000;
}location /app1/ {
proxy_bind 127.0.0.1;
proxy_pass http://example.com/app1/;
}
location /app2/ {
proxy_bind 127.0.0.2;
proxy_pass http://example.com/app2/;
}Last updated