mirror of
https://github.com/rad168/iptv.git
synced 2025-12-19 00:05:15 +08:00
Update nginx.conf
This commit is contained in:
@@ -31,6 +31,9 @@ http {
|
||||
##
|
||||
# 日志设置
|
||||
##
|
||||
set_real_ip_from 0.0.0.0/0; # 允许所有代理传递真实 IP
|
||||
real_ip_header X-Forwarded-For;
|
||||
real_ip_recursive on;
|
||||
log_format custom '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
Reference in New Issue
Block a user