diff --git a/Nginx/default.conf.template b/Nginx/default.conf.template index c4516f7f4b6..503d8f00cf2 100644 --- a/Nginx/default.conf.template +++ b/Nginx/default.conf.template @@ -35,6 +35,10 @@ upstream workflow { server ${SERVER_WORKFLOW_HOSTNAME}:${WORKFLOW_PORT} weight=10 max_fails=3 fail_timeout=30s; } +upstream docs { + server ${SERVER_DOCS_HOSTNAME}:${DOCS_PORT} weight=10 max_fails=3 fail_timeout=30s; +} + upstream home { server ${SERVER_HOME_HOSTNAME}:${HOME_PORT} weight=10 max_fails=3 fail_timeout=30s; } @@ -683,7 +687,7 @@ server { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - proxy_pass http://app/docs; + proxy_pass http://docs; } location /file {