dataset/seed/nginx-reverse-proxy/patches/revprox-nginx.conf.patch

14 lines
452 B
Diff

--- templates/revprox-nginx.conf 2023-02-03 16:10:11.582687659 +0100
+++ modif/revprox-nginx.conf 2023-02-03 16:40:02.232096923 +0100
@@ -55,6 +55,11 @@
{% endfor %}
{% endfor %}
{% endfor %}
+ {% if domainname == 'cloud.silique.fr' %}
+ location /gitea {
+ rewrite ^/gitea(.*)$ https://forge.cloud.silique.fr$1 last;
+ }
+ {% endif %}
{% endmacro %}
# Add default HTTP entries if useful
# Not for HTTPs because there is no certificate