Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこのようなことを達成したいと思っていました:
location = / { if ($args ~ "^url=(.+)") { #gets the "url" get parameter set $key1 $1; proxy_pass $key1; #use the parameter as proxy address } }
これは可能ですか?
location / { proxy_pass http://backend$arg_url; }