feat: Add a flag to skip generating default NGINX config

This commit is contained in:
Karan Sharma
2021-03-26 19:18:46 +05:30
parent c9b1f990ba
commit 147c6b3a97
2 changed files with 21 additions and 11 deletions

View File

@@ -26,6 +26,7 @@ These variables are set on every container start. Change in these variables will
- `UPSTREAM_REAL_IP_HEADER`: Set this to the header name sent by your upstream proxy server to indicate the real IP of connecting clients. Default: X-Forwarded-For
- `FRAPPE_SITE_NAME_HEADER`: NGINX `X-Frappe-Site-Name` header in the HTTP request which matches a site name. Default: `$host`
- `HTTP_HOST`: NGINX `Host` header in the HTTP request which matches a site name. Default: `$http_host`
- `SKIP_NGINX_TEMPLATE_GENERATION`: When set to `1`, this will not generate a default NGINX configuration. The config file must be mounted inside the container (`/etc/nginx/conf.d`) by the user in this case. Default: `0`
### frappe-socketio