fix: log_format doesn't go here
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
42bee7ac3e
commit
bc7e096b5c
1 changed files with 0 additions and 5 deletions
|
@ -1,11 +1,6 @@
|
||||||
# Don't send server version
|
# Don't send server version
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
|
||||||
# Logs are anonymous
|
|
||||||
log_format main '127.0.0.1 - $remote_user [$time_local] "$request" '
|
|
||||||
'$status $body_bytes_sent "$http_referer" '
|
|
||||||
'"$http_user_agent" "127.0.0.1"';
|
|
||||||
|
|
||||||
# Don't send IP addresses upstream
|
# Don't send IP addresses upstream
|
||||||
proxy_set_header X-Real-IP 127.0.0.1;
|
proxy_set_header X-Real-IP 127.0.0.1;
|
||||||
proxy_set_header X-Forwarded-For 127.0.0.1;
|
proxy_set_header X-Forwarded-For 127.0.0.1;
|
||||||
|
|
Loading…
Reference in a new issue