about configuration in nginx conf location block

[ad_1]

Hi Author of this plugin, I have been using your plugin for quite a while and rated 5 stars which you definitely deserves it.

Recently I am trying to optimize it even better, since I use nginx websever, I am trying to add the following into localtion block

try_files "/wp-content/cache/powered-cache/$http_host/$request_uri/index-https.html" $uri $uri/ /index.php?$args;

in the site configuration file in path site-available/mysite

May I know if that code is correct? So nginx will try feed the cache page to user instead of hit php?

thank you in advance

nate

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer