commit 8ea2d242b4b0223f2388751ab4d6bfdd90681cfc parent d898b6c2bddbbf20be475ebb89143f0ad6ea6ca7 Author: Florian Dold <florian.dold@gmail.com> Date: Tue, 10 Jan 2017 19:03:42 +0100 nginx arg passing Diffstat:
| M | etc/nginx/sites-enabled/env.site | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/nginx/sites-enabled/env.site b/etc/nginx/sites-enabled/env.site @@ -34,7 +34,7 @@ server { } location ~ ^/(?<user>[a-zA-Z0-9-_]+)/exchange/(?<req>.*) { - proxy_pass http://unix:/home/$user/sockets/exchange.http:/$req; + proxy_pass http://unix:/home/$user/sockets/exchange.http:/$req$args; proxy_redirect off; proxy_set_header Host $host; }