Added kubernetes to Mailu

This commit is contained in:
hacor
2018-10-17 07:22:55 +02:00
parent 75a1bf967c
commit 4ea12deae7
32 changed files with 1611 additions and 539 deletions

View File

@@ -34,6 +34,8 @@ http {
'' $scheme;
}
# Disable the main http server when on kubernetes (port 80 and 443)
{% if KUBERNETES_INGRESS != 'true' %}
# Main HTTP server
server {
# Variables for proxifying
@@ -147,6 +149,7 @@ http {
proxy_set_header Content-Length "";
}
}
{% endif %}
# Forwarding authentication server
server {