-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Styling not found #118
Comments
It definitely sound like something to do with static files not accessible. Maybe not deployed properly with the command to collect them, or something to do with the server configuration not being able to access the directory. I was using apache myself, but nginx probably need some configuration too ? By the way I never used this project inside a docker, if you can contribute the generic part of the one you did for #62 that would be much appreciated ! :) |
So, my mistake was not giving proper instructions to the nginx reverse proxy docker container. I fixed that by adding
to the corresponding vhost-config file and mounting a folder containing the static files to /static in that nginx proxy container. Just a misconception on my behalf. Maybe it helps someone... |
for the admin-css stuff I had to copy |
I owuld have thougth |
No it didn't. Actually I extracted it from the container and copied it to the folder which gets mounted to the nginx-proxy container. I know, not a very clean approach, but does the job... |
I'm currently running the survey in a docker container behind a letsencrypt nginx proxy. Ssl works and the text is displayed. Whats missing is the styling of the website: spacing, the admin-panel, I guess all things css related... Any clues on that? Am I missing some setting?
I think this error is to blame:
"GET /static/survey/js/jquery.min.js HTTP/2.0" 404 2470 "
Thanks for the work!
The text was updated successfully, but these errors were encountered: