mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-19 07:36:16 +00:00
fix: remove unsupported legacy redirects
This commit is contained in:
@@ -1418,10 +1418,6 @@
|
||||
<span class="t-key">root</span> <span class="t-val">*</span> <span class="t-str">/var/www/koalasync/website/www</span>
|
||||
<span class="t-key">encode</span> <span class="t-val">zstd gzip</span>
|
||||
|
||||
<span class="t-comment"># Redirect legacy support-page URLs to their canonical clean URLs</span>
|
||||
<span class="t-key">redir</span> <span class="t-val">/help.html /help 308</span>
|
||||
<span class="t-key">redir</span> <span class="t-val">/site-access-help.html /site-access-help 308</span>
|
||||
|
||||
<span class="t-comment"># Clean URLs support (no .html required)</span>
|
||||
<span class="t-key">try_files</span> <span class="t-val">{path} {path}.html {path}/</span>
|
||||
<span class="t-key">file_server</span>
|
||||
@@ -1454,10 +1450,6 @@
|
||||
<span class="t-key">encode</span> <span class="t-val">zstd gzip</span>
|
||||
<span class="t-key">root</span> <span class="t-val">*</span> <span class="t-str">/var/www/koalasync/website/www</span>
|
||||
|
||||
<span class="t-comment"># Redirect legacy support-page URLs to their canonical clean URLs</span>
|
||||
<span class="t-key">redir</span> <span class="t-val">/help.html /help 308</span>
|
||||
<span class="t-key">redir</span> <span class="t-val">/site-access-help.html /site-access-help 308</span>
|
||||
|
||||
<span class="t-comment"># Clean URLs: Resolves paths without .html in the URL</span>
|
||||
<span class="t-key">try_files</span> <span class="t-val">{path} {path}.html {path}/</span>
|
||||
<span class="t-key">file_server</span>
|
||||
|
||||
Reference in New Issue
Block a user