This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
FROM nginx:latest
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY black.conf /etc/nginx/blackip.conf
|
||||
|
||||
|
2364
black.conf
Normal file
2364
black.conf
Normal file
File diff suppressed because it is too large
Load Diff
@@ -68,6 +68,7 @@ server {
|
||||
proxy_set_header Host $host; # 主机名
|
||||
proxy_set_header X-Real-Ip $remote_addr;# 真实 IP
|
||||
proxy_set_header X-Forwarded-For $remote_addr; # 表示 HTTP 请求端真实 IP
|
||||
include /etc/nginx/blackip.conf;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user