Skip to content

Instantly share code, notes, and snippets.

View brian4286's full-sized avatar

brian4286

  • San Antonio
View GitHub Profile
@brian4286
brian4286 / wwww.domain.com.conf
Created July 15, 2016 22:16
Highly optimized WordPress nginx.conf for security and performance.
server {
listen 80 default_server;
listen [::]:80 default_server;
location / {
return 301 https://www.domain.com$request_uri;
}
}
server {
listen 443 ssl http2;