I'm in the middle of a manual migration from one server to another and I'm having problems getting sites running on HTTPS again.
The sites (mostly WordPress) run fine over HTTP with nginx, but not on HTTPS with nginx.
For example, I can access https://domain/index.php and the page will load but without CSS and images.
If I try and go to https://domain/somefolder/some.file I get a 502 Bad Gateway from nginx.
In the proxy_error.log I see:
2016/08/04 14:53:55 [error]...
502 Bad Gateway nginx only with HTTPS
The sites (mostly WordPress) run fine over HTTP with nginx, but not on HTTPS with nginx.
For example, I can access https://domain/index.php and the page will load but without CSS and images.
If I try and go to https://domain/somefolder/some.file I get a 502 Bad Gateway from nginx.
In the proxy_error.log I see:
2016/08/04 14:53:55 [error]...
502 Bad Gateway nginx only with HTTPS