mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #1184] Add Google Pagespeed module? #968
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zeroone82 on GitHub (Jun 17, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1184
Is your feature request related to a problem? Please describe.
Not an actual problem, but it could increase performance and scores for sites using NPM
Describe the solution you'd like
Add pagespeed module to nginx.
Describe alternatives you've considered
None
Additional context
I found this script for integrating with openresty but wasn't able to test it:
https://gist.github.com/marklkelly/d17fa535a41e0e3aa429
I tried manually loading it on a debian server before realizing it was using an old nginx version that doesn't support external modules (it has to be compiled with them), so I'm not sure how much a performance increase this module really offers.
It could be an additional switch for each host, so it's not enabled by default
@zeroone82 commented on GitHub (Jul 13, 2021):
Just in case anyone wants to enable it too, I managed to get it working. I can't say for sure this is 100% the correct way to do it, but it works.
First I made a custom Dockerfile:
This should already result in an NGINX with Pagespeed module enable. Then to enable it for your site:
Create the file data/nginx/custom/pagespeed.conf and a basic config:
Then on anyhost that you want to enable, add the config file in your custom configuration:
@binhotvn commented on GitHub (Jan 25, 2023):
I had updated a little bit base on @zeroone82 Dockerfile
Dockerhub: https://hub.docker.com/r/binhotvn/nginx-proxy-manager-with-pagespeed
Passthrough config enable many features of ngx_pagespeed but use it with caution
@viriatusX commented on GitHub (Mar 30, 2023):
Hi!
if I include "include /data/nginx/custom/pagespeed.conf" inside NPM on domain's Advanced tab, it's turn Offline...
@binhotvn commented on GitHub (Mar 30, 2023):
It went offline because of missing of pagespeed.conf file, instead of doing that try my config above
@viriatusX commented on GitHub (Mar 30, 2023):
Thanks @binhotvn
I am not familiar with DockerFile. I follow this tutorial to integrate SpeedPages + GEO2IP https://topete.gitbook.io/contenido/v/anadir-modulo-pagespeed-a-nginx-proxy-manager/ but since version 2.9.21 it doesn't work. The developer JC21 modified the S6 Overlay (I don't know if permissions) and it doesn't work anymore. It shows this error:
s6-overlay-suexec: fatal: can only run as pid 1
Would you know to shed some light?
@github-actions[bot] commented on GitHub (Jul 1, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Jul 20, 2025):
Issue was closed due to inactivity.