Skip to content

Commit

Permalink
Deleted stray W3TC block and commented out W3TC include
Browse files Browse the repository at this point in the history
Before this, the settings as they were caused 404s for any link/address
other than “earmilk.com”
  • Loading branch information
Andre Bulatov committed Jan 25, 2016
1 parent 052036f commit 9dab157
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions root/etc/nginx/sites-available/earmilk.com.conf
Expand Up @@ -9,12 +9,6 @@ server {
server_name earmilk.com mulwray.earmilk.com;
charset utf-8;

# BEGIN W3TC Page Cache core
set $w3tc_rewrite 1;
if ($request_method = POST) {
set $w3tc_rewrite 0;
}

# access_log logs/host.access.log main;

# Load configuration files for the default server block.
Expand All @@ -29,7 +23,7 @@ server {
rewrite /wp-admin$ $scheme://$host$uri/ permanent;

# Include W3TC's editable nginx.conf file in WordPress root
include /home/www-data/earmilk/public/nginx.conf;
# include /home/www-data/earmilk/public/nginx.conf;

location ~* \.(png|gif|jpg|jpeg)$ {
error_page 404 http://images.earmilk.com/delivery.png;
Expand Down

0 comments on commit 9dab157

Please sign in to comment.