Commit 8d9e6993 by Jocelyn Delalande

nginx: copy querystring in domain redirections

parent a0779fea
......@@ -82,7 +82,7 @@ server {
{% if location.target is defined %}alias {{ location.target }};{% endif %}
{% elif location.type == 'domain-redirection' %}
rewrite ^ {{ location.target }}$request_uri? permanent;
rewrite ^ {{ location.target }}$request_uri permanent;
{% endif %}
{% for k,v in location.vars|default([]) %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment