Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Nginx Config for Brotli and PHP7 FPM

This is a basic nginx file meant to be modified and tinkered with. Out of the box you get SSL requests compressed with Brotli (falling back to gzip when Brotli is unavailable) passed to PHP7 FPM. Make sure to replace servername.com with your FQDS.

Background

Brotli is a compression algorithm released by Google that is useful for decreasing the size of text files transmitted for HTTP. Brotli's compression ratio is about 20-30% higher than that of gzip.

You will need to compile nginx with the nginx Brotli module to use this configuration file.

License

Released under MIT.

About

Simple PHP7 FPM nginx configuration file using Brotli with gzip as a fallback.

Resources

License

Releases

No releases published

Packages

No packages published

Languages