Skip to content

Instantly share code, notes, and snippets.

@shijiezhou1
Created July 5, 2020 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shijiezhou1/36e8c2672ca192774d0fec9603bac999 to your computer and use it in GitHub Desktop.
Save shijiezhou1/36e8c2672ca192774d0fec9603bac999 to your computer and use it in GitHub Desktop.
WordPress Https Conf File
server {
listen 443 ssl;
server_name www.example.com example.com; # change example to your domain
ssl_certificate /etc/nginx/conf.d/certification/wp.pem;
ssl_certificate_key /etc/nginx/conf.d/certification/wp.key;
location / {
proxy_pass http://{your-cloud-ip}:8080;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment