(for CentOS 7) nano /etc/varnish/default.vcl nano /etc/varnish/varnish.params varnish_reload_vcl netstat -lntp | grep 80 service nginx reload varnishstat varnishlog service nginx restart service varnish restart # Start and enable Varnish process to start at system boot. systemctl enable –now varnish nano /etc/nginx/conf.d/… # Verify that Varnish […]
Tag: varnish
Configure Varnish to auto direct from http to https
In SSH terminal, edit the domain configuration file in /etc/nginx/conf.d/ Configure Nginx as SSL Proxy server { listen 443 ssl http2; server_name pquan.info; #change mine to your domain. # SSL #You can use Let's Encrypt or Comodo ssl_certificate /etc/nginx/ssl/nginx.crt; ssl_certificate_key /etc/nginx/ssl/nginx.key; location / { […]