From dc2915875b7ba3c5ac6c2c4e02285305934d56cc Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 2 Aug 2021 17:09:38 +0200 Subject: [PATCH] Docs: Fix rewrite rules in apache example configs --- docs/content/doc/setup/install-frontend.md | 2 +- docs/content/doc/setup/reverse-proxies.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/setup/install-frontend.md b/docs/content/doc/setup/install-frontend.md index 2989b6439..038ab57cc 100644 --- a/docs/content/doc/setup/install-frontend.md +++ b/docs/content/doc/setup/install-frontend.md @@ -122,7 +122,7 @@ Put the following config in `cat /etc/apache2/sites-available/vikunja.conf`: ServerName localhost DocumentRoot /path/to/vikunja/static/frontend/files RewriteEngine On - RewriteRule ^\/?(config\.json|favicon\.ico|css|fonts|images|img|js) - [L] + RewriteRule ^\/?(favicon\.ico|assets|audio|fonts|images|manifest\.webmanifest|robots\.txt|sw\.js|workbox-.*|api|dav|\.well-known) - [L] RewriteRule ^(.*)$ /index.html [QSA,L] {{< /highlight >}} diff --git a/docs/content/doc/setup/reverse-proxies.md b/docs/content/doc/setup/reverse-proxies.md index 3d78c71f0..7d4cb1bb9 100644 --- a/docs/content/doc/setup/reverse-proxies.md +++ b/docs/content/doc/setup/reverse-proxies.md @@ -101,7 +101,7 @@ Put the following config in `cat /etc/apache2/sites-available/vikunja.conf`: DocumentRoot /var/www/html RewriteEngine On - RewriteRule ^\/?(config\.json|favicon\.ico|css|fonts|images|img|js|api|dav|\.well-known) - [L] + RewriteRule ^\/?(favicon\.ico|assets|audio|fonts|images|manifest\.webmanifest|robots\.txt|sw\.js|workbox-.*|api|dav|\.well-known) - [L] RewriteRule ^(.*)$ /index.html [QSA,L] {{< /highlight >}}