Skip to content

Nginx unable to override to set root #4594

Answered by CyberMew
CyberMew asked this question in Q&A
Discussion options

You must be logged in to vote

I found out that I have to add a second buildpack for nginx after the custom buildpack, then with the config:set to public and not /app/www/public (found this via reading the app sigil), it will work and there is no need to add anything more to the .env or create a .sigil config. This helped me as well https://ericmjl.github.io/essays-on-data-science/miscellaneous/static-sites-on-dokku/#build-a-static-site-skip-if-you-already-have-one

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CyberMew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant