Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep all upload data persistent and advice on redirections issues #202

Merged
merged 8 commits into from
Jan 29, 2025

Conversation

kamil-certat
Copy link
Contributor

This PR changes the example persistent data config to keep also other directories, like theme, plugins etc. in the volume. The whole upload directory is intended for persistent data and current example config causes e.g. lose of theme modifications on the container upgrade.

In addition, the "Known issues" section discusses the topic as well as another issue with the Apache, which tries to use its own port when redirecting to canonical URLs. When put behind another proxy listening on different ports, it produces URLs not accessible by the client.

Close #196

ServerName helps when the cannonical redirections from Apache
use a port the front proxy doesn't listen on - see martialblog#196
All subdirectories are used for persistent storage, keeping e.g. themes, plugins and survey uploads.
@martialblog
Copy link
Owner

Hi, thanks for the PR. I'll have a look at it!

@martialblog martialblog self-assigned this Jan 21, 2025
Copy link
Owner

@martialblog martialblog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docker-compose.example.yml Outdated Show resolved Hide resolved
@martialblog martialblog merged commit 13afc66 into martialblog:master Jan 29, 2025
@kamil-certat
Copy link
Contributor Author

Thanks for typo corrections 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tips: persistence and redirections behind reverse proxy
2 participants