changed servername in nginx config

This commit is contained in:
André Bauer 2017-12-03 14:33:31 +01:00
parent adc2564fa6
commit 88da94e80d

View file

@ -2,7 +2,7 @@
# this is the nginx config for zammad # this is the nginx config for zammad
# #
upstream zammad { upstream zammad-railsserver {
server localhost:3000; server localhost:3000;
} }
@ -44,7 +44,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 300; proxy_read_timeout 300;
proxy_pass http://zammad; proxy_pass http://zammad-railsserver;
gzip on; gzip on;
gzip_types text/plain text/xml text/css image/svg+xml application/javascript application/x-javascript application/json application/xml; gzip_types text/plain text/xml text/css image/svg+xml application/javascript application/x-javascript application/json application/xml;