Forgejo: Remove headers nginx complains about
This commit is contained in:
parent
6e3f037e1a
commit
7c5ca1188c
1 changed files with 0 additions and 2 deletions
|
|
@ -130,8 +130,6 @@ in
|
||||||
set_real_ip_from 127.0.0.1;
|
set_real_ip_from 127.0.0.1;
|
||||||
set_real_ip_from ::1;
|
set_real_ip_from ::1;
|
||||||
real_ip_header proxy_protocol;
|
real_ip_header proxy_protocol;
|
||||||
proxy_set_header X-Real-IP $proxy_protocol_addr;
|
|
||||||
proxy_set_header X-Fowarded-For $proxy_protocol_addr;
|
|
||||||
|
|
||||||
access_log /var/log/nginx/access.${domain}.log combined_realip;
|
access_log /var/log/nginx/access.${domain}.log combined_realip;
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue