update pwd change
This commit is contained in:
parent
b91daad8ad
commit
47b6f4903f
13 changed files with 572 additions and 90 deletions
11
Caddyfile
11
Caddyfile
|
|
@ -57,13 +57,19 @@
|
|||
}
|
||||
}
|
||||
|
||||
(header_realip) {
|
||||
(header_realip_cf) {
|
||||
header_up X-Real-IP {remote_host}
|
||||
header_up X-Real-IP {http.request.header.CF-Connecting-IP}
|
||||
header_up X-Forwarded-For {http.request.header.CF-Connecting-IP}
|
||||
header_up X-Forwarded-Proto {http.request.header.CF-Visitor}
|
||||
}
|
||||
|
||||
(header_realip) {
|
||||
header_up X-Real-IP {remote_host}
|
||||
header_up X-Forwarded-For {remote_host}
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
}
|
||||
|
||||
(tls) {
|
||||
tls {
|
||||
dns {args[0]} {args[1]}
|
||||
|
|
@ -86,5 +92,4 @@
|
|||
}
|
||||
}
|
||||
|
||||
import ./config.d/*
|
||||
#import ./config/*
|
||||
import ./config.d/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue