Vinay Samant
New Pleskian
I am using Plesk 12.5 on OVH Debian8 Dedicated.
It comes with inbuilt nginx as reverse proxy. This is something i am experiencing for 1st time!
Its fast and really cool! But i am facing 2 problems :
1. Apache server uses more than 100%(??) CPU. And ultimately shuts down. It can only be restarted after closing nginx process.
2. whether i m using nginx or apache, my images are not served using SSL. And hence https:// websites looks like mixed website and generates warning.
Detailed Situation :
1. I have a client colteneindia.com. Nothing in /. Wordpress site installed in /wordpress.
2. Another 2 custom application installed in 2 directories /crm /SFA.
3. With original server config, as nginx reverse proxy, if i use 2 rewrite rules with apache and nginx to redirect entire / traffic to /wordpress and force https:// then huge blocking can be observed at 7081/7080 ports. And then finally apache stops and nginx returns bad gateway. this happened 6-7 times.
4. I tried many threads, uninstalled nginx, reinstalled, reconfigured like what not but no luck.
5. One notable thing, if nginx is not running, things are excellent! So whats your advice on this?
**in any case, how can i set correct redirection/rewrite that will :
1. redirect each / query to /wordpress except "/crm" "/SFA"
2. How to force all request through SSL whether /crm or /wordpress and it should not show mixed website.
It comes with inbuilt nginx as reverse proxy. This is something i am experiencing for 1st time!
Its fast and really cool! But i am facing 2 problems :
1. Apache server uses more than 100%(??) CPU. And ultimately shuts down. It can only be restarted after closing nginx process.
2. whether i m using nginx or apache, my images are not served using SSL. And hence https:// websites looks like mixed website and generates warning.
Detailed Situation :
1. I have a client colteneindia.com. Nothing in /. Wordpress site installed in /wordpress.
2. Another 2 custom application installed in 2 directories /crm /SFA.
3. With original server config, as nginx reverse proxy, if i use 2 rewrite rules with apache and nginx to redirect entire / traffic to /wordpress and force https:// then huge blocking can be observed at 7081/7080 ports. And then finally apache stops and nginx returns bad gateway. this happened 6-7 times.
4. I tried many threads, uninstalled nginx, reinstalled, reconfigured like what not but no luck.
5. One notable thing, if nginx is not running, things are excellent! So whats your advice on this?
**in any case, how can i set correct redirection/rewrite that will :
1. redirect each / query to /wordpress except "/crm" "/SFA"
2. How to force all request through SSL whether /crm or /wordpress and it should not show mixed website.