Answers for "linux nginx reverse proxy"

0

pass proxy nginx

location ~ .php {
    proxy_pass http://127.0.0.1:8000;
}
Posted by: Guest on October-30-2020
0

nginx reverse proxy multiple folders

location ~ ^/app1(.*)$ {
    proxy_pass http://proxy.example.com$1;
}

-OR-

location /app1 {
    proxy_pass http://proxy.example.com/app1;
}
Posted by: Guest on December-28-2020

Browse Popular Code Answers by Language