mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-04 21:11:08 +02:00
Fix no letsencrypt
This commit is contained in:
@@ -96,8 +96,8 @@ services:
|
|||||||
# Without this we've seen issues where nginx shows no error logs but
|
# Without this we've seen issues where nginx shows no error logs but
|
||||||
# does not recieve any traffic
|
# does not recieve any traffic
|
||||||
command: >
|
command: >
|
||||||
/bin/sh -c "sleep 10 &&
|
/bin/sh -c "sleep 10 &&
|
||||||
envsubst '$$\{DOMAIN\}' < /etc/nginx/conf.d/app.conf.template.dev > /etc/nginx/conf.d/app.conf &&
|
envsubst '$$\{DOMAIN\} $$\{SSL_CERT_FILE_NAME\} $$\{SSL_CERT_KEY_FILE_NAME\}' < /etc/nginx/conf.d/app.conf.template.no-letsencrypt > /etc/nginx/conf.d/app.conf &&
|
||||||
while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\""
|
while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\""
|
||||||
env_file:
|
env_file:
|
||||||
- .env.nginx
|
- .env.nginx
|
||||||
|
Reference in New Issue
Block a user