use server_name _; & remove local loging in nginx

This commit is contained in:
André Bauer 2017-07-23 12:02:25 +02:00
parent c459887182
commit 329cfb6c83

View File

@ -13,14 +13,10 @@ upstream zammad-websocket {
server { server {
listen 80; listen 80;
# replace 'localhost' with your fqdn if you want to use zammad from remote server_name _;
server_name localhost;
root /home/zammad/public; 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; client_max_body_size 50M;
location ~ ^/(assets/|robots.txt|humans.txt|favicon.ico) { location ~ ^/(assets/|robots.txt|humans.txt|favicon.ico) {