diff --git a/docker/.env.example b/docker/.env.example index f6be551a..a24cb86b 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -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 diff --git a/docker/containers/tactical-nginx/entrypoint.sh b/docker/containers/tactical-nginx/entrypoint.sh index 00e6b8f0..f6303372 100644 --- a/docker/containers/tactical-nginx/entrypoint.sh +++ b/docker/containers/tactical-nginx/entrypoint.sh @@ -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};