change dashboard hostname default in env.example to be consistent with docs. Log nginx container access/error logs to stdout/stderr
This commit is contained in:
parent
f977d8cca9
commit
322d492540
|
@ -6,7 +6,7 @@ TRMM_USER=tactical
|
|||
TRMM_PASS=tactical
|
||||
|
||||
# dns settings
|
||||
APP_HOST=app.example.com
|
||||
APP_HOST=rmm.example.com
|
||||
API_HOST=api.example.com
|
||||
MESH_HOST=mesh.example.com
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
# increase default nginx worker connections
|
||||
/bin/bash -c "sed -i 's/worker_connections.*/worker_connections ${WORKER_CONNECTIONS};/g' /etc/nginx/nginx.conf"
|
||||
|
||||
|
||||
|
@ -93,9 +94,6 @@ server {
|
|||
proxy_set_header X-Forwarded-Host \$server_name;
|
||||
}
|
||||
|
||||
error_log /var/log/nginx/api-error.log;
|
||||
access_log /var/log/nginx/api-access.log;
|
||||
|
||||
client_max_body_size 300M;
|
||||
|
||||
listen 443 ssl;
|
||||
|
@ -135,9 +133,6 @@ server {
|
|||
proxy_set_header X-Forwarded-Port \$server_port;
|
||||
}
|
||||
|
||||
error_log /var/log/nginx/app-error.log;
|
||||
access_log /var/log/nginx/app-access.log;
|
||||
|
||||
listen 443 ssl;
|
||||
ssl_certificate ${CERT_PUB_PATH};
|
||||
ssl_certificate_key ${CERT_PRIV_PATH};
|
||||
|
|
Loading…
Reference in New Issue