nginx reverse proxy windows code example
Example 1: pass proxy nginx
location ~ \.php {
proxy_pass http://127.0.0.1:8000;
}
Example 2: nginx reverse proxy multiple folders
location ~ ^/app1(.*)$ {
proxy_pass http://proxy.example.com$1;
}
-OR-
location /app1 {
proxy_pass http://proxy.example.com/app1;
}