From f5a0f388b7222435e74e38f5da3c298280f0c36b Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Wed, 27 Nov 2024 11:58:25 -0500 Subject: [PATCH] Enhance documentation: update VitePress config to ignore localhost links with any port and correct docker-compose.yml formatting for Nginx Proxy Manager --- documentation/.vitepress/config.mts | 5 +++++ documentation/docs/install/nginx_proxy_manager.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/documentation/.vitepress/config.mts b/documentation/.vitepress/config.mts index b79077c..163c4c5 100644 --- a/documentation/.vitepress/config.mts +++ b/documentation/.vitepress/config.mts @@ -13,6 +13,11 @@ export default defineConfig({ "/playground", // ignore all localhost links /^https?:\/\/localhost/, + // ignore localhost links with any port + // ignore http://localhost:8015 + /^https?:\/\/localhost:\d+/, + /^http?:\/\/localhost:\d+/, + // ignore all links include "/playground/" // ignore all links include "/repl/"" /\/repl\//, // custom function, ignore all links include "ignore" diff --git a/documentation/docs/install/nginx_proxy_manager.md b/documentation/docs/install/nginx_proxy_manager.md index e02882a..fc58b7a 100644 --- a/documentation/docs/install/nginx_proxy_manager.md +++ b/documentation/docs/install/nginx_proxy_manager.md @@ -26,8 +26,8 @@ Add the folowing to the bottom of the `docker-compose.yml` file for the Nginx Pr ```yaml networks: default: - external: - name: nginx-proxy-manager + name: nginx-proxy-manager + external: true ``` ## Setting Up Nginx Proxy Manager