-
Notifications
You must be signed in to change notification settings - Fork 262
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
APPLICATION_ROOT setting does not work #1123
Comments
You can try with :
With a trailing slash. But I see no |
I have same problem but I'm using traefik |
I copied the entrypoint.sh to my local comp from the docker container and added APPLICATION_ROOT in it. Then used that file to boot up the docker container by mounting it to the container with docker-compose and pointing the entrypypoint to it. |
What's the conclusion here? Did somebody got APPLICATION_ROOT to work? We have unit tests for this feature (since #358 I believe), so it it doesn't actually work, we need to improve the test. |
as I explained already. APPLICATION_ROOT needs to be added in https://github.com/spiral-project/ihatemoney/blob/master/conf/entrypoint.sh |
Right, that makes sense, fixed in #1189 @malorambo were you also using Docker / docker-compose? |
Closing, feel free to reopen if there is still a problem. |
Hello !
Trying to setup the app on a Debian 11 machine, I cannot find out how to get the APPLICATION_ROOT setting working with nginx. I set it up with
APPLICATION_ROOT = "accounting"
, but nginx will redirect me to my.domain.tld/accounting/accounting/, and will return a 404 NOT FOUND for every file instatic
(looking for them intoaccounting/static/
). I tried to tweak the nginxconf.d/ihatemoney.conf
file, or even copy the wholestatic/
folder toaccounting/static/
but it won't solve anything.Here is the
/etc/nginx/conf.d/ihatemoney.conf
for information : (almost identical to the default generated file)Is there any chance I messed up somewhere with nginx ?
The text was updated successfully, but these errors were encountered: