refactor: refresh 25.04

This commit is contained in:
Jacky 2025-04-19 17:55:17 +08:00
parent 818bf9bcf6
commit b63dbe1e50
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
98 changed files with 5283 additions and 4817 deletions

View file

@ -4,7 +4,7 @@ author = "@0xJacky"
description = { en = "Let's Encrypt HTTPChallange", zh_CN = "Let's Encrypt HTTP 鉴权"}
# Nginx UI Template End
location /.well-known/acme-challenge {
location ~ /.well-known/acme-challenge {
proxy_set_header Host $host;
proxy_set_header X-Real_IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr:$remote_port;

View file

@ -11,12 +11,12 @@ map $http_upgrade $connection_upgrade {
}
# Nginx UI Custom End
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_pass http://127.0.0.1:{{.HTTPPORT}}/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_pass http://127.0.0.1:{{.HTTPPORT}}/;
}