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 / { […]