There was an error while loading. Please reload this page.
1 parent ccbf83f commit d40698aCopy full SHA for d40698a
1 file changed
init.sh
@@ -72,6 +72,7 @@ function config_https() {
72
config_nginx "${config_file}"
73
74
sed -i "s@server web:.*;@server localhost:51980;@g" "${config_file}"
75
+ sed -i 's@https://$server_name$request_uri;@https://$host$request_uri;@g' "${config_file}"
76
77
if [ "${USE_IPV6}" == "1" ]; then
78
sed -i "s@# listen \[::\]:443@listen \[::\]:443@g" "${config_file}"
0 commit comments