server { listen 443 default_server; listen [::]:443 default_server; ssl on; root /var/www/wordpress; index index.html index.htm index.php; server_name _; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php5-fpm.sock; } }