Replies: 1 comment 2 replies
-
Hey, thanks for starting a discussion. I'm seeing a lot of questions. What have you found in previous discussions about this? Both subjects have been discussed a lot. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Support guidelines
Description
I am trying to install Firefly III on a machine with an existing webserver. Therefore I want to serve it under a subdirectory. My issue is the that I can't find information about the nginx configuration. Actually the FAQs contain a small snippet which looked promising, so I tried that with small adaptions to match my configuration (the replaced parts are commented-out and replaced in the follow-up line):
Unfortunately this only gives me a 403 when navigating to
/budget
.When I navigate to
/budget/index.php
I am redirected to/budget/index.php/login
, which is correct, I guess? But that page gives my a custom 500 page. The browser debugging tools show that neither the CSS nor the logo image can be loaded due to the fact that they are searched in the/public
directory instead of the custom subdirectory. Additionally the following error message is shown:I verified that the database file
firefly
is correctly located in the root directory. I can access it with thesqlite3
command-line tool, list its tables and also query theusers
table stated in the error.To get any further, I also tried to move the database file to the
public
subdirectory. This in fact routes me from/budget/index.php
to/public/index.php/register
. I guess that this is indeed correct, but now I get a 404 error due to leaving the subdirectory.Solution
It would be great to have an updated FAQ answer that correctly routes the requests.
What are alternatives?
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions