server
{
listen 80;
listen 443 ssl;
#listen [::]:80;
server_name 5137bj.com www.5137bj.com;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
index index.html index.htm index.php default.html default.htm default.php;
root /**/5137bj.com;
include wordpress.conf;
#error_page 404 /404.html;
include enable-php.conf;
ssl on;
ssl_certificate /**/www.5137bj.com_bundle.crt;
ssl_certificate_key /**/www.5137bj.com.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
ssl_prefer_server_ciphers on;
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
location ~ /\.
{
deny all;
}
access_log /**/5137bj.log;
}
|