Merge pull request #576 from hacor/master

Kubernetes fixed for production
This commit is contained in:
mergify[bot]
2018-10-20 22:30:38 +00:00
committed by GitHub
28 changed files with 460 additions and 780 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
@@ -149,6 +151,7 @@ http {
proxy_set_header Content-Length "";
}
}
{% endif %}
# Forwarding authentication server
server {