Skip to content

Woda's custom nginx directives for plesk hosted WordPress sites using WP Rocket

License

Notifications You must be signed in to change notification settings

wwwoda/plesk-wp-rocket-nginx-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Woda's custom nginx directives for plesk hosted WordPress sites using WP Rocket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published