Skip to content

Commit

Permalink
Proper include to W3TCs nginx.conf in WP-root - fixes #9
Browse files Browse the repository at this point in the history
This is an `include` to W3TCs edit-able nginx.conf file at WP-root.
Now all settings can be dynamically configured from W3TC’s WP-backend
admin panel.
The issue was not with my new `include` reference to W3TC’s editable
nginx.conf, at WordPress root, in the main VHost, but with W3TC
settings themselves as they were in its old nginx.conf file.  This
fixes #9 but we still need to configure W3TC to work optimally.
  • Loading branch information
Andre Bulatov committed Jan 26, 2016
1 parent 726bec3 commit f009713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/nginx/sites-available/earmilk.com.conf
Expand Up @@ -23,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 f009713

Please sign in to comment.