mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
Fixed docs redirecting to coolify.io even if the page exists on the docs
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user