Below config works with -
I want to make it work only with the second option
https://example.com/blog/blog-slug
location /blog/ {
rewrite ^/blog(/?.*)$ $1 break;
proxy_pass http://1.10.4.204/;
}
Please guide me on how to fix it.
Below config works with -
I want to make it work only with the second option
https://example.com/blog/blog-slug
location /blog/ {
rewrite ^/blog(/?.*)$ $1 break;
proxy_pass http://1.10.4.204/;
}
Please guide me on how to fix it.