-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
WriteFreely only runs on domain root #714
Labels
Comments
Thanks for mentioning this -- it's also been brought up on our forum. Would you be interested in submitting a fix for this? |
I will try and implement this. I think the easiest way to do this would be to capture the bind and update the PathPrefix for the static routes and the main handlers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running WriteFreely behind a reverse proxy, I configured the proxy to only for the
/blog
subfolder on my domain. I addedhttps://example.com/blog
toconfig.ini
ashost
, but it still assumes that I am running it on the root. For example, when I make it password protected it redirects me toexample.com/login
instead ofexample.com/blog/login
upon visiting the home page.Steps to reproduce (if necessary)
Steps to reproduce the behavior:
Expected behavior
The application should use the entire
host
string to generate its URLs instead of just the host.Application configuration
Version or last commit:
0.13.2
The text was updated successfully, but these errors were encountered: