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

15 lines
452 B
Diff
Raw Normal View History

2023-06-23 08:12:05 +02:00
--- 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