Fixed docs redirecting to coolify.io even if the page exists on the docs

This commit is contained in:
ShadowArcanist
2025-03-16 09:37:35 +05:30
parent cdc5c17878
commit 752d1283e2
+2 -2
View File
@@ -36,8 +36,8 @@ http {
location / {
root /usr/share/nginx/html/docs;
index index.html;
# Add rewrite rule to handle URLs without trailing slash
rewrite ^([^.]*[^/])$ $1/ permanent;
# # Add rewrite rule to handle URLs without trailing slash
# rewrite ^([^.]*[^/])$ $1/ permanent;
try_files $uri $uri/ $uri.html =404;
}
# non existent pages are redirected to 404.html