This commit is contained in:
qiaofeng1227 2024-11-20 10:03:07 +08:00
parent 1c93d07940
commit 77db8bafe7
2 changed files with 5 additions and 1 deletions

View File

@ -5,8 +5,10 @@
FROM jc21/nginx-proxy-manager:2.11.3
LABEL maintainer="Websoft9<help@websoft9.com>"
LABEL version="2.11.3"
LABEL version="2.11.3-rc1"
RUN mkdir /data/nginx/custom
COPY ./config/http.conf /data/nginx/custom/http.conf
COPY ./config/initproxy.conf /data/nginx/default_host/initproxy.conf
COPY ./init_nginx.sh /app/init_nginx.sh
RUN chmod +x /app/init_nginx.sh

View File

@ -0,0 +1,2 @@
limit_req_zone $binary_remote_addr zone=w9_limit_req_zone:10m rate=30r/s;
limit_conn_zone $binary_remote_addr zone=w9_limit_conn_zone:10m;