Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Websoft9/websoft9 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Dec 11, 2024
2 parents 7664e19 + 62e1815 commit db59444
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# modify time: 202412111427, you can modify here to trigger Docker Build action
# modify time: 202412111455, 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

Expand All @@ -11,7 +11,7 @@ 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/landing /etc/websoft9
COPY ./config/landing/ /etc/websoft9/landing
COPY ./config/initproxy.conf /etc/websoft9/initproxy.conf
COPY ./init_nginx.sh /app/init_nginx.sh
RUN chmod +x /app/init_nginx.sh
Expand Down
4 changes: 2 additions & 2 deletions docker/proxy/config/initproxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ server {
}

location = / {
root /ect/websoft9/landing;
root /etc/websoft9/landing;
try_files /index.html =404;
add_header Content-Type text/plain;
add_header Content-Type text/html;
}

location / {
Expand Down

0 comments on commit db59444

Please sign in to comment.