-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx support? #7
Comments
Unfortunately nginx doesn't make it easy to provide additional configuration at runtime. With We could, however, provide some nginx performance tips in the README. |
To get server push to work for Nginx I actually just used https://github.com/JacobBennett/laravel-HTTP2ServerPush, which this is based on. In my site's conf file I had to make the following changes:
Then restart Nginx and follow the installation instructions in the above link. |
If you are using the speedy plugin you don't have to install an additional package. With http2 support enabled, this plugin will add the What you won't get out-of-the-box on nginx is any of the caching headers that this plugin adds via the |
It didn't seem to do anything for me for some reason. That's why I installed that other package, then it worked right away. |
If anybody wants to use gzip with nginx you can add this code to ngix directives:
|
I noticed this mainly uses a htaccess file which is an apache specific thing. Is there any plans to support nginx given this is all about performance? Nginx can be configured to be significantly faster than apache :)
The text was updated successfully, but these errors were encountered: