nginx_ui/nginx-ui-dev/template/block/letsencrypt.conf
2025-03-04 11:28:12 +00:00

13 lines
415 B
Plaintext

# Nginx UI Template Start
name = "Let's Encrypt"
author = "@0xJacky"
description = { en = "Let's Encrypt HTTPChallange", zh_CN = "Let's Encrypt HTTP 鉴权"}
# Nginx UI Template End
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;
proxy_pass http://127.0.0.1:{{.HTTP01PORT}};
}