diff --git a/contrib/nginx-zammad.conf b/contrib/nginx-zammad.conf index 41714c42c..152917247 100644 --- a/contrib/nginx-zammad.conf +++ b/contrib/nginx-zammad.conf @@ -13,6 +13,10 @@ server { error_log /var/log/nginx/zammad.error.log; client_max_body_size 50M; + + upstream zammad { + server unix://opt/zammad/var/zammad.sock + } location ~ ^/(assets/|robots.txt|humans.txt|favicon.ico) { expires max; @@ -28,6 +32,6 @@ server { location / { proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_pass http://localhost:3000; + proxy_pass http://zammad; } }