File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,4 @@ RUN chmod +x /docker-entrypoint.d/40-create-ghcred.sh
3838COPY --from=build-app /app/dist/ /usr/share/nginx/html/
3939COPY --from=build-docs /app/docs/.vuepress/dist/ /usr/share/nginx/html/docs/
4040
41- # Healthcheck
42- HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD wget -qO- http://127.0.0.1/ || exit 1
43-
4441EXPOSE 80
Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ http {
4949 try_files $uri $uri / /docs/404 .html;
5050 }
5151 # ----------------------------
52- # 4 ) Internal trailing-slash add for SPA routes (no redirect!)
52+ # 3 ) Internal trailing-slash add for SPA routes (no redirect!)
5353 # ----------------------------
5454 # Prevents default 308 when /demo is a real directory.
5555 location ~ ^/( ?!.*\.).*[^/]$ {
5656 rewrite ^( .*) $ $1 / last;
5757 }
5858
5959 # ----------------------------
60- # 3 ) Handle /<subpath>/docs/... when subpath is used
60+ # 4 ) Handle /<subpath>/docs/... when subpath is used
6161 # ----------------------------
6262 location ~ ^/[^/]+/docs/( .*) $ {
6363 try_files $uri $uri / /docs/404 .html;
You can’t perform that action at this time.
0 commit comments