Latest version of nginx.conf (WooCommerce)

Hi, EasyEngine works fine, but the FastCGI caching doesn’t seem to work.

I update to the latest version of EasyEngine and changed the caching method from W3TC to FastCGI using your tutorial, but it looks like the configuration file (nginx.conf) is not updated.

What is the latest version of the nginx.conf for FastCGI when using WooCommerce?

@clemens

if you are talking about ee site update example.com --wp --wpfc then it will not update nginx.conf file.

Your site specific config will get updated i.e /etc/nginx/sites-enabled/example.com.

for WooCommerece you need to edit your site config using ee site edit example.com

Follow this tutorial for woocommerce setup :

Aha, thanks Harshadyeola! I think this could be confusing.

Is the command ee site edit example.com the same as editing nginx.conf (using sFTP)?

I found this configuration file from Rahul, looks like it contains the code from the tutorial. Is this config file good/up-to-date? https://gist.github.com/rahul286/dc64ae84c97868b862c4

@clemens

ee site edit example.com command will let you edit nginx configuration for example.com.

you can not use above command with sFTP!

Yes you can use this https://gist.github.com/rahul286/dc64ae84c97868b862c4

Thanks…it works great and fast with the new config file!!

Hi @clemens

Glad to know that your issue is resolved.

Hi @clemens

Glad to know that your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: