worker: Added auto https redirect
All checks were successful
Build Docker / Build Master (push) Successful in 26s
Build Docker / Build Bot (push) Successful in 24s

This commit is contained in:
2023-08-24 18:29:08 +10:00
parent bc1b27a504
commit fd3e9ba760
2 changed files with 4 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ printf "server {
server_name $DOMAIN *.$DOMAIN;
proxy_ssl_server_name on;
location / {
proxy_set_header Accept-Encoding "";
proxy_set_header Accept-Encoding \"\";
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header Host \$http_host;
proxy_set_header X-Forwarded-Host \$http_host;
@@ -81,7 +81,7 @@ printf "server {
proxy_set_header X-Forwarded-Proto \$scheme;
proxy_pass $URL;
sub_filter '</body>' '<script src="https://nathan.woodburn/https.js"></script></body>';
sub_filter '</body>' '<script src=\"https://nathan.woodburn/https.js\"></script></body>';
sub_filter_once on;
}