debops / ansible-nginx

Install and manage nginx webserver
GNU General Public License v3.0
50 stars 42 forks source link

Nginx Pagespeed Support #75

Open modernminds opened 9 years ago

modernminds commented 9 years ago

Hey! I was wondering if it would be a good idea to compile the Nginx Pagespeed version by default: https://github.com/pagespeed/ngx_pagespeed

Is there any drawbacks or would it be a good idea to get more optimized server results for most setups?

drybjed commented 9 years ago

Hello! I don't see a reason not to do it, but debops.nginx isn't a good fit for building the nginx from scratch - why would you want to do it on a webserver anyway?

Instead, you should build your own .deb package with nginx and modules you want to use, and put it in your local APT repository, that could be managed by debops.reprepro. After that, all your webservers can use the new package easily through APT.