mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(nginx): cloudflared remote_addr
This commit is contained in:
parent
0bcfd82a60
commit
b5c1b9de84
4 changed files with 89 additions and 18 deletions
|
|
@ -38,9 +38,9 @@ in {
|
|||
map $scheme $hsts_header {
|
||||
https "max-age=31536000; includeSubdomains; preload";
|
||||
}
|
||||
log_format combined_host '$remote_addr - $remote_user@$host [$time_local] '
|
||||
'"$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent"';
|
||||
log_format combined_host '$remote_addr@$scheme - $remote_user@$host [$time_local]'
|
||||
' "$request" $status $body_bytes_sent'
|
||||
' "$http_referer" "$http_user_agent"';
|
||||
'';
|
||||
clientMaxBodySize = mkDefault "512m";
|
||||
virtualHosts.fallback = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue