Hi guys,
I have created a small nodejs app which encrypts a URL,
I have tested it on a non wordops environment on Nginx 1.1 and it worked. On wordops I am unable to make it work.
The media files like, CSS, JS & Images are not loading
Can you guys suggest what i am doing wrong over here?
i have added below code of lines in my domain conf file.
location ~ \/page-(.*)\/(view\/)? {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-NginX-Proxy true;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://mynodejsip:8000;
}