- Server operating system version
- Centos 7.9
- Plesk version and microupdate number
- 18.0.63
Hey guys,
Could not find posted question relatable.
I installed Varnish on the server manually.
The current plan is Nginx -> Varnish -> Httpd.
Initially, I got a redirect issue whenever I pointed nginx to varnish through the proxy_pass.
I contacted Liquid support and they solved this by turning of the Redirect from http to https in the Plesk admin. Not sure how safe this is.
My main problem now is that whenever I make changes to the nginx.conf in /var/www/vhosts/system/site1/conf/nginx.conf.
These are my changes under listen <ip> 443 location {}:
However, after 30 mins I believe the changes revert back to the original.
I do not want to set up these changes on every site.
So my question is, how do I make those changes permanently for selected sites?
Well without affecting ssl certificate renewal or anything.
Thanks for any response or advice.
Could not find posted question relatable.
I installed Varnish on the server manually.
The current plan is Nginx -> Varnish -> Httpd.
Initially, I got a redirect issue whenever I pointed nginx to varnish through the proxy_pass.
I contacted Liquid support and they solved this by turning of the Redirect from http to https in the Plesk admin. Not sure how safe this is.
My main problem now is that whenever I make changes to the nginx.conf in /var/www/vhosts/system/site1/conf/nginx.conf.
These are my changes under listen <ip> 443 location {}:
- proxy_pass http://127.0.0.1:6081 to replace proxy_pass http://127.0.0.1:7081
- proxy_set_header X-Forwarded-Proto https;
However, after 30 mins I believe the changes revert back to the original.
I do not want to set up these changes on every site.
So my question is, how do I make those changes permanently for selected sites?
Well without affecting ssl certificate renewal or anything.
Thanks for any response or advice.