add-proxy-rewrite-option
diff --git a/nginx/files/proxy.conf b/nginx/files/proxy.conf
index c697f05..f388890 100644
--- a/nginx/files/proxy.conf
+++ b/nginx/files/proxy.conf
@@ -44,6 +44,10 @@
       send_timeout 600;
       {%- endif %}
 
+      {%- if site.proxy.rewrite is defined %}
+      rewrite {{ site.proxy.rewrite }};
+      {%- endfor %}
+
       {%- if site.proxy.filter is defined %}
       sub_filter '{{ site.proxy.filter.search }}' {% if site.proxy.filter.replace == '$server_addr' %}$server_addr{% else %}'{{ site.proxy.filter.replace }}'{% endif %};
       sub_filter_types *;