From a02ab6837cd30313306088c48713194a02e93a84 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Sat, 8 Feb 2025 13:42:31 +0100 Subject: [PATCH] fix deployment --- docs/.vitepress/config.mts | 2 +- nginx/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 3a87a1d5..4fa7a5ca 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -22,7 +22,7 @@ export default defineConfig({ title: "Coolify Docs", description: "Self hosting with super powers", appearance: 'force-dark', // 'dark' allows user to change theme - base: '/', + base: '/docs/', cleanUrls: true, lastUpdated: true, // Added ignoreDeadLinks to temporarily fix build error diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 75d7349a..7eb92ed2 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -38,7 +38,7 @@ http { include /etc/nginx/conf.d/redirects.conf; - location /docs { + location / { alias /usr/share/nginx/html/docs; index index.html; try_files $uri $uri/ $uri.html =404;