Describe the issue or problem
OJS is not loading properly when using NPM. Please see images.
What application are you using?
OJS 3.5
Describe the issue or problem
OJS is not loading properly when using NPM. Please see images.
What application are you using?
OJS 3.5
Is there a right configuration on Nginx Proxy Manager for OJS? thanks in advance.
Hi @majimenez,
Do you see any error messages in your Nginx error logs? That may give some indication of what is occurring here.
-Roger
PKP Team
Hi Roger,
Thank you for your reply. Based of the nginx error.log, it doesn’t have any error. But on the access.log there is a 404.
Reverse proxies are tricky.
I miss some information to give you the right answer (for instance, what the browser says about the missing resources or what is the LAMP behind your OJS?) but, in short, depending on your NPM and OJS/LAMP settings you will need different solutions but x-forwared-proto is the most efective I know. In apache you can set it as follows:
Set “SetEnvIf X-Forwarded-Proto “https” HTTPS=on”
In the forum you can find some posts about issues when OJS is behind a reverse proxy:
In gitHub you can find some posts too:
I’m starting my OJS 3.5 tests over traefik and till know I couldn’t make it work properly.
Something changed in 3.5 because same 3.3 settings are now working now.
If you succeed, please let us know.