-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep all upload data persistent and advice on redirections issues (#202)
* Added ServerName to example apache config ServerName helps when the cannonical redirections from Apache use a port the front proxy doesn't listen on - see #196 * Mount volume for the whole upload directory All subdirectories are used for persistent storage, keeping e.g. themes, plugins and survey uploads. --------- Co-authored-by: Markus Opolka <[email protected]>
- Loading branch information
1 parent
1984086
commit 13afc66
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,9 @@ services: | |
- [email protected] | ||
- PUBLIC_URL=foobar.com | ||
volumes: | ||
- limesurvey:/var/www/html/upload/surveys | ||
# All subdirectories of the upload may contain | ||
# data intended to be persistent (e.g. themes) | ||
- limesurvey:/var/www/html/upload | ||
ports: | ||
- 8080:8080 | ||
depends_on: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<VirtualHost *:8080> | ||
ServerAdmin [email protected] | ||
DocumentRoot /var/www/html | ||
# ServerName may help with issues with redirections - see #196 | ||
# ServerName your-domain.com | ||
Alias /limesurvey "/var/www/html" | ||
|
||
<Directory /> | ||
|