cloudflare_ip
This commit is contained in:
parent
f62b4a1050
commit
ec04a96771
@ -13,6 +13,10 @@ server {
|
|||||||
#proxy_cookie_path / "/; secure; HTTPOnly; SameSite=strict";
|
#proxy_cookie_path / "/; secure; HTTPOnly; SameSite=strict";
|
||||||
# proxy_set_header X-Real-IP $remote_addr;
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
|
|
||||||
|
real_ip_recursive on;
|
||||||
|
real_ip_header CF-Connecting-IP;
|
||||||
|
|
||||||
set_real_ip_from 192.168.178.41;
|
set_real_ip_from 192.168.178.41;
|
||||||
|
|
||||||
error_page 501 502 503 504 /maintenance.html;
|
error_page 501 502 503 504 /maintenance.html;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user