mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
fix proxy
This commit is contained in:
parent
ca1281393d
commit
a076b23dea
@ -1,17 +1,17 @@
|
||||
# modify time: 202412101506, you can modify here to trigger Docker Build action
|
||||
# modify time: 202412101512, you can modify here to trigger Docker Build action
|
||||
# from Dockerfile: https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/docker/Dockerfile
|
||||
# from image: https://hub.docker.com/r/jc21/nginx-proxy-manager
|
||||
|
||||
FROM jc21/nginx-proxy-manager:2.11.3
|
||||
|
||||
LABEL maintainer="Websoft9<help@websoft9.com>"
|
||||
LABEL version="2.11.3-rc6"
|
||||
LABEL version="2.11.3"
|
||||
|
||||
COPY README.md /data/nginx/README.md
|
||||
RUN mkdir /data/nginx/custom
|
||||
RUN mkdir -p /etc/websoft9
|
||||
COPY ./config/http.conf /data/nginx/custom/http.conf
|
||||
COPY ./config/initproxy.conf /data/nginx/websoft999999/initproxy.conf
|
||||
COPY ./config/initproxy.conf /etc/websoft9/initproxy.conf
|
||||
COPY ./init_nginx.sh /app/init_nginx.sh
|
||||
RUN chmod +x /app/init_nginx.sh
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
credential_path="/data/credential"
|
||||
|
||||
# Migrating initproxy.conf file
|
||||
|
||||
if [ ! -d /data/nginx/default_host ]; then mkdir -p /data/nginx/default_host; fi
|
||||
cp -f /etc/websoft9/initproxy.conf /data/nginx/default_host/initproxy.conf
|
||||
[ -f /etc/websoft9/initproxy.conf ] && rm -f /data/nginx/proxy_host/initproxy.conf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user