From 329cfb6c83ceb8a909475813b0aeca87faf25b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sun, 23 Jul 2017 12:02:25 +0200 Subject: [PATCH] use server_name _; & remove local loging in nginx --- containers/zammad-nginx/nginx-zammad.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/containers/zammad-nginx/nginx-zammad.conf b/containers/zammad-nginx/nginx-zammad.conf index 32954ab..1037cd8 100644 --- a/containers/zammad-nginx/nginx-zammad.conf +++ b/containers/zammad-nginx/nginx-zammad.conf @@ -13,14 +13,10 @@ upstream zammad-websocket { server { listen 80; - # replace 'localhost' with your fqdn if you want to use zammad from remote - server_name localhost; + server_name _; root /home/zammad/public; - access_log /var/log/nginx/zammad.access.log; - error_log /var/log/nginx/zammad.error.log; - client_max_body_size 50M; location ~ ^/(assets/|robots.txt|humans.txt|favicon.ico) {