Title: [Plugin: W3 Total Cache] Default /nginx.conf location
Last modified: August 20, 2016

---

# [Plugin: W3 Total Cache] Default /nginx.conf location

 *  Resolved [spencerlim](https://wordpress.org/support/users/spencerlim/)
 * (@spencerlim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/)
 * May i know where is the location of /nginx.conf file ? i tried to put on /var/
   www/website/ or /var/www/website/web and set them to chmod777 but also cannot
   use the auto-install.
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * (@pothi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957087)
 * You don’t have to put it on a particular location. W3 Total Cache automatically
   puts it in `WP_HOME` (from what I know). You also don’t have to change it to 
   777. But, you should include this file’s physical location in your site’s Nginx
   configuration and then reload (or restart) the Nginx server to apply the changes
   in the Nginx configuration.
 *  Thread Starter [spencerlim](https://wordpress.org/support/users/spencerlim/)
 * (@spencerlim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957102)
 * No, it doesn’t solve the issue. i was created one file in my /var/www/domain/
   nginx.conf
    and include the line “include /var/www/domain/nginx.conf;” in available
   site config. restarted the nginx but the problem still there..
 *  [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * (@pothi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957103)
 * > but the problem still there..
 * May I know what _that_ problem is?
 *  Thread Starter [spencerlim](https://wordpress.org/support/users/spencerlim/)
 * (@spencerlim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957104)
 * Disk enhanced page caching is not active. To enable it, add the following rules
   into the server configuration file (/nginx.conf) of the site above the WordPress
   directives . Or if permission allow this can be done automatically, by clicking
   here: .
 * Disk enhanced page caching is not active. To enable it, add the following rules
   into the server configuration file (/nginx.conf) of the site . This can be done
   automatically, by clicking here: .
 * Browser caching is not active. To enable it, add the following rules into the
   server configuration file (/nginx.conf) of the site . Or if permission allow 
   this can be done automatically, by clicking here: .
 *  [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * (@pothi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957105)
 * Okay, try adding those rules directly into the your site’s main Nginx configuration
   file. Please make sure they are at the top of the `location` blocks. For example…
 *     ```
       server {
         server_name domain.com;
         root /path/to/wordpress;
   
         # W3 Total Cache rewrites to be written here
   
         location ~ \.php$ {
           # directives to process PHP
         }
   
         location / {
           try_files $uri $uri/ /index.php;
         }
   
       }
       ```
   
 * I hope this helps.
 *  Thread Starter [spencerlim](https://wordpress.org/support/users/spencerlim/)
 * (@spencerlim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957107)
 * it still couldn’t be solve, Thx anyway.
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957122)
 * Would you like professional support [@spencerlim](https://wordpress.org/support/users/spencerlim/)?
 *  Thread Starter [spencerlim](https://wordpress.org/support/users/spencerlim/)
 * (@spencerlim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957123)
 * No, Thx. it’s too expansive and overprice. i just want to know how to fix it.
   because i got multiple wordpress having the same problem. Thx
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957148)
 * Price is relative. I’m not trying to sell you something, but it’s not trivial
   to investigate your issue without more information. Good luck
 *  Thread Starter [spencerlim](https://wordpress.org/support/users/spencerlim/)
 * (@spencerlim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957149)
 * May we discuss further in email ? Thx
    [spencerlim@itechspark.com](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/spencerlim@itechspark.com?output_format=md)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘[Plugin: W3 Total Cache] Default /nginx.conf location’ is closed to new
replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * 10 replies
 * 3 participants
 * Last reply from: [spencerlim](https://wordpress.org/support/users/spencerlim/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-default-nginxconf-location/#post-2957149)
 * Status: resolved