Skip to content

Commit 66cf74d

Browse files
committed
typo
1 parent 733819a commit 66cf74d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,4 @@ RUN chmod +x /docker-entrypoint.d/40-create-ghcred.sh
3838
COPY --from=build-app /app/dist/ /usr/share/nginx/html/
3939
COPY --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-
4441
EXPOSE 80

nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)