LMSouq
server-admin AI Answered

How can query string parameters be forwarded through a proxy_pass with nginx?

AL
Alex Luya
1 month ago
5 views
Problem Description
upstream apache { server 127.0.0.1:8080; } server{ location ~* ^/service/(.*)$ { proxy_pass http://apache/$1; proxy_redirect off; } } The above snippet will redirect requests where the url includes the string "service" to another server, but it does not include query parameters.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base