ssl mode?

This commit is contained in:
Sheaza 2024-10-28 21:34:57 +01:00
parent 5c8968edb9
commit 6bf96bb55e

2
run.sh
View File

@ -9,6 +9,6 @@ printf "NAME = $NAME;\n" >> /var/lib/gitea/custom/conf/app.ini
printf "HOST = $HOST;\n" >> /var/lib/gitea/custom/conf/app.ini printf "HOST = $HOST;\n" >> /var/lib/gitea/custom/conf/app.ini
printf "USER = $USER;\n" >> /var/lib/gitea/custom/conf/app.ini printf "USER = $USER;\n" >> /var/lib/gitea/custom/conf/app.ini
printf "PASSWD = $PASSWD;\n" >> /var/lib/gitea/custom/conf/app.ini printf "PASSWD = $PASSWD;\n" >> /var/lib/gitea/custom/conf/app.ini
printf "SSL_MODE = require ;\n" >> /var/lib/gitea/custom/conf/app.ini printf "SSL_MODE=require ;\n" >> /var/lib/gitea/custom/conf/app.ini
cat /var/lib/gitea/custom/conf/app.ini cat /var/lib/gitea/custom/conf/app.ini
/usr/local/bin/gitea web -port $PORT /usr/local/bin/gitea web -port $PORT