Assets don’t load with nginx reverse proxy #3056
Answered
by
dgw
nevetS-718
asked this question in
Q&A
-
I'm using nginx only as a reverse proxy and have a web server running html and php sites on the backend. When I route my YOURLS site through nginx, it loses all of the assets, but still works. The site is https://url.nevets.tech and I am unable to access the admin interface with a 404 error. |
Beta Was this translation helpful? Give feedback.
Answered by
dgw
Sep 10, 2021
Replies: 1 comment 1 reply
-
Nginx is serving the page over HTTPS, but YOURLS doesn't know this and embeds HTTP scripts/styles, which are then blocked as mixed content. Tell YOURLS that it's being served securely. Set |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nevetS-718
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nginx is serving the page over HTTPS, but YOURLS doesn't know this and embeds HTTP scripts/styles, which are then blocked as mixed content. Tell YOURLS that it's being served securely. Set
YOURLS_SITE
tohttps://url.nevets.tech
.