Possible to use custom nginx modules (i.e., modpagespeed)?

I just discovered roots, and am super excited to learn it after spinning up lots of servers manually. Is it possible to use Trellis with a custom nginx module such as modpagespeed? Because it needs to be compiled in with nginx, I am guessing it won’t work too well with Trellis, but I am still trying to wrap my head around how Trellis works. Thanks!

We had discussed it at one point: https://github.com/roots/trellis/issues/235

You just need change the apt repo that we use for Nginx with that rtCamp one if you wanted here: https://github.com/roots/trellis/blob/dda4f0529626ad7a3305a8bffcdbc09530328662/roles/nginx/tasks/main.yml#L2-L6

2 Likes