From dc31629bc41a7759da8964a24605f3864dae9ba9 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 16 May 2021 21:28:14 +0300 Subject: [PATCH] Added changes from https://github.com/wekan/wekan/issues/3811 Thanks to pitastrudl ! --- Apache.md | 7 +++++-- Backup.md | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Apache.md b/Apache.md index 2324e78..b26247d 100644 --- a/Apache.md +++ b/Apache.md @@ -25,6 +25,8 @@ NameVirtualHost *:443 ``` ## 4) Set Apache proxy +Remember to set `- ROOT_URL=` to the full URL used for your reverse proxy or as `ServerName`. + ### a) Main URL SSL with [Certbot](https://certbot.eff.org). @@ -54,6 +56,7 @@ Config at `/etc/apache2/sites-available/example.com.conf`: ``` ### b) Sub URL +Currently, favicon loading does not work with sub-url [wekan/issues/1692](https://github.com/wekan/wekan/issues/1692) Config at `/etc/apache2/sites-available/example.com.conf`: @@ -92,7 +95,7 @@ cd /etc/apache2/sites-enabled ln -s ../sites-available/example.com.conf example.com.conf ``` -On some distros Apache config is at different path: +On some distributions, Apache config is at different path: ``` cd /etc/httpd/conf.d ``` @@ -123,4 +126,4 @@ snap set wekan port='3001' snap set wekan root-url='https://example.com/wekan' ``` -[All snap settings](https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys) \ No newline at end of file +[All snap settings](https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys) diff --git a/Backup.md b/Backup.md index bcdf306..2a7c204 100644 --- a/Backup.md +++ b/Backup.md @@ -2,7 +2,7 @@ # Backup Docker -Note: Do not run `docker-compose down`, it does delete wekan-app and wekan-db containers with all data. +Note: Do not run `docker-compose down` without verifying your docker-compose file, it does not delete the data by default but caution is advised. Refer to https://docs.docker.com/compose/reference/down/. [docker-compose.yml](https://raw.githubusercontent.com/wekan/wekan/master/docker-compose.yml) @@ -29,7 +29,7 @@ docker exec wekan-db mongorestore --drop --dir=/data/dump docker start wekan-app ``` # Upgrade Docker Wekan version -Note: Do not run `docker-compose down`, it does delete wekan-app and wekan-db containers with all data. +Note: Do not run `docker-compose down` without verifying your docker-compose file, it does not delete the data by default but caution is advised. Refer to https://docs.docker.com/compose/reference/down/. ``` docker-compose stop docker rm wekan-app