Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1014 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 1014 Bytes

plesk-wp-rocket-nginx-config

These are additional Nginx directives to be used for plesk hosted WordPress sites using the cache plugin WP-Rocket. It enables Nginx to serve directly previously cached files without calling WordPress or any PHP. It also adds headers to cache CSS, JS and medias in order to leverage browser's cache by reducing request to your web server.

This config is based on Rocket-Nginx by SatelliteWP.

Installation

To add domain-specific settings for Nginx web servers:

  1. Log into Plesk
  2. Go to Home > Subscriptions > example.com > Websites & Domains > Apache & nginx Settings
  3. Add the directives from rocket-nginx-directives.conf in the Additional nginx directives field

Documentation

License

Released under the MIT License. See the license file for details.