This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM nginx:latest
|
FROM nginx:slim
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY black.conf /etc/nginx/blackip.conf
|
COPY black.conf /etc/nginx/blackip.conf
|
||||||
|
|
||||||
|
11
nginx.conf
11
nginx.conf
@@ -96,17 +96,6 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
|
||||||
listen 8000;
|
|
||||||
server_name rustfs.liubeiting.cn;
|
|
||||||
ignore_invalid_headers off;
|
|
||||||
client_max_body_size 0;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_pass http://192.168.1.100:9004;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8000;
|
listen 8000;
|
||||||
server_name git.liubeiting.cn;
|
server_name git.liubeiting.cn;
|
||||||
|
Reference in New Issue
Block a user