-
Notifications
You must be signed in to change notification settings - Fork 312
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
How do you install this module? #63
Comments
You need to compile it with nginx with the |
My nginx is version 1.14.0. However, I had already installed without having compiled. How could I add it without having to compile again. Since my current site is up and running and I have already made many settings. Would you like to indicate something? Thanks in advance. |
CentOS 7 instructions (requires subscription):
To enable this module, add the following to /etc/nginx/nginx.conf and reload nginx:
|
Anything similar for apt (debian/ubuntu)? I'm in the same boat here, re-compiling from scratch my production nginx binary which already has a lot of config and modules with it sounds like a daunting task but I would like to use this purge plugin without having to wipe and re-compile the entire nginx install. |
@emmm-dee easier thing you can do in lack of repository for apt is compiling the dynamic module file yourself and then dropping it to your nginx. You don't need to scratch/recompiling the whole of your existing nginx installation for this. Steps:
Those steps are better run on a separate machine, not to pollute your system with build requirements. (Although it's really just Once the compilation is done, you'll have the |
@dvershinin Thanks! That's extremely helpful. All other guides said to run So after
Then after running
Any ideas on why I'm not getting the |
@emmm-dee I should have mentioned that this Github repository's To get it to compile into This fork has It is correct that |
@dvershinin success! Thanks for taking the time to explain this! Now I just hope the plugin works as expected :)
|
@emmm-dee as long as you did configure with You're welcome. |
Is the only way to get extras.getpagespeed to pay $10/month? I get errors (Error importing repomd.xml for getpagespeed-extras-mainline: Damaged repomd.xml file) trying to install it, and researching I found this page, saying you have to subscribe: https://www.getpagespeed.com. |
The point of subscription is easy updates and there’s far more than this module available. Other ways:
Getpagespeed repo is free for CentOS/RHEL 8 as of this writing so is also an option. |
Okay, I'm sure it's worth it, just on an extremely tight budget here. Just curious, why is it free for CentOS/RHEL 8? I have CentOS 7. |
Things are still quite in flux with CentOS 8:
That said, most of NGINX modules for stable NGINX branch are available; fewer for mainline. As far as CentOS 7: many folks just subscribe, install what they need and unsubscribe to avoid billing on next month, if they don't care about continuous update availability. |
I don't see any explanation of how to install this on a server and get it to work with a nginx installation...
The text was updated successfully, but these errors were encountered: