bunkerweb/confs/site/redirect-to.conf

6 lines
137 B
Plaintext

{% if REDIRECT_TO_REQUEST_URI == "yes" %}
return 301 {{ REDIRECT_TO }}$request_uri;
{% else %}
return 301 {{ REDIRECT_TO }};
{% endif %}