You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I turned on ENABLE_SSL='yes' but it didn't work. The generated linked "conf/nginx.conf" is always the non-SSL one. So I forked and rebuilt your proxy repo like this (even set a fixed "yes")
INITIAL_SETUP_LOCK=/taiga-conf/.initial_setup.lock
ENABLE_SSL='yes'
if [ "$ENABLE_SSL" = 'yes' ]; then
echo SSL turned on!
CONFIG_FILE=nginx_ssl.conf
else
echo No SSL
CONFIG_FILE=nginx.conf
fi
if [ ! -f $INITIAL_SETUP_LOCK ]; then
touch $INITIAL_SETUP_LOCK
sed -e 's/$TAIGA_HOST/'$TAIGA_HOST'/' \
-e 's/$TAIGA_BACK_HOST/'$TAIGA_BACK_HOST'/' \
-e 's/$TAIGA_FRONT_HOST/'$TAIGA_FRONT_HOST'/' \
-e 's/$EVENTS_HOST/'$EVENTS_HOST'/' \
-e 's/$CERT_NAME/'$CERT_NAME'/' \
-e 's/$CERT_KEY/'$CERT_KEY'/' \
-i /tmp/taiga-conf/$CONFIG_FILE
cp /tmp/taiga-conf/$CONFIG_FILE /taiga-conf/nginx.conf
ln -sf /taiga-conf/nginx.conf /etc/nginx/conf.d/nginx.conf
cp /tmp/taiga-conf/proxy_params /taiga-conf/proxy_params
ln -sf /taiga-conf/proxy_params /etc/nginx/proxy_params
else
ln -sf /taiga-conf/nginx.conf /etc/nginx/conf.d/nginx.conf
ln -sf /taiga-conf/proxy_params /etc/nginx/proxy_params
fi
exec nginx -g 'daemon off;'
I also had certificates in "cert" folder.
After docker-compose up --force-recreate -d, it shows many errors (502 Bad Gateway)
Could you please take a look what was wrong with my configuration? Has anyone tried SSL turned on?
The text was updated successfully, but these errors were encountered:
Hi!
The issue was in quotes around ENABLE_SSL value. It was neccessary in .yml but we forgot to remove quoting when we moved variables to .env file. Fixed in 607822c.
Just use ENABLE_SSL=yes.
I turned on ENABLE_SSL='yes' but it didn't work. The generated linked "conf/nginx.conf" is always the non-SSL one. So I forked and rebuilt your proxy repo like this (even set a fixed "yes")
I also had certificates in "cert" folder.
After docker-compose up --force-recreate -d, it shows many errors (502 Bad Gateway)
Could you please take a look what was wrong with my configuration? Has anyone tried SSL turned on?
The text was updated successfully, but these errors were encountered: