mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
proxy
This commit is contained in:
parent
1c93d07940
commit
77db8bafe7
@ -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
|
||||
|
2
docker/proxy/config/http.conf
Normal file
2
docker/proxy/config/http.conf
Normal 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;
|
Loading…
Reference in New Issue
Block a user