#move next 4 lines to /etc/nginx/nginx.conf if you want to use fastcgi_cache across many sites 
#fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m;
#fastcgi_cache_key "$scheme$request_method$host$request_uri";
#fastcgi_cache_use_stale error timeout invalid_header http_500;
#fastcgi_ignore_headers Cache-Control Expires Set-Cookie;

server {
    listen 80;
    server_name blog.goushi.me goushi.me www.goushi.me;
    root /var/www/wordpress;

    ssl_certificate /etc/letsencrypt/live/goushi.me/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/goushi.me/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/goushi.me/chain.pem;

    include global/ssl.conf;

    include global/restrictions.conf;
 
    #include global/wordpress.conf;
    #include global/wordpress_with_fastcgi_cache.conf;
    include global/wordpress_with_redis_cache.conf;
}
