[GH-ISSUE #713] Add Brotli Support #602

Closed
opened 2026-02-26 06:33:36 +03:00 by kerem · 7 comments
Owner

Originally created by @arlllk on GitHub (Nov 11, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/713

Add the capability to use Brotli in the reverse proxy as a compression option. The official nginx module repository is currently active

Originally created by @arlllk on GitHub (Nov 11, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/713 Add the capability to use Brotli in the reverse proxy as a compression option. The [official nginx module repository](https://github.com/google/ngx_brotli) is currently active
kerem 2026-02-26 06:33:36 +03:00
Author
Owner

@hitchhooker commented on GitHub (Aug 12, 2021):

Has anybody come up with a fork or workaround to add brotli?

<!-- gh-comment-id:897852816 --> @hitchhooker commented on GitHub (Aug 12, 2021): Has anybody come up with a fork or workaround to add brotli?
Author
Owner

@jc21 commented on GitHub (Aug 13, 2021):

Notes for anyone considering adding this:

  • The base docker image uses OpenResty and exists in this project and extensions are defined here. You'll need to open a PR there for this first
  • The UI should to have a switch to enable Compression and then select between gzip and brotli (if I understand this correctly)
  • This compression setting would need to be stored in the database and would require a new migration file
  • The proxy host nginx template exists here and would need to know about the compression choice.
<!-- gh-comment-id:898061055 --> @jc21 commented on GitHub (Aug 13, 2021): Notes for anyone considering adding this: - The base docker image uses OpenResty and exists in [this project](https://github.com/NginxProxyManager/docker-nginx-full) and extensions are [defined here](https://github.com/NginxProxyManager/docker-nginx-full/blob/master/scripts/build-openresty). You'll need to open a PR there for this first - [The UI](https://github.com/jc21/nginx-proxy-manager/blob/develop/frontend/js/app/nginx/proxy/form.ejs) should to have a switch to enable `Compression` and then select between gzip and brotli (if I understand this correctly) - This compression setting would need to be stored in the database and would require a new [migration file](https://github.com/jc21/nginx-proxy-manager/tree/develop/backend/migrations) - The proxy host nginx template [exists here](https://github.com/jc21/nginx-proxy-manager/blob/develop/backend/templates/proxy_host.conf) and would need to know about the compression choice.
Author
Owner

@xrh0905 commented on GitHub (Jul 31, 2023):

Member

Hi. I'm currently trying to work on it, but I'm new to these.
So,from what I can tell, Brotli support needs to be added upstream, which I opened a PR for that.
However, I'm not good at databases nor at frontend. And I guess it's safe to just leave brotli on as default.
It's should just work if you put brotli on; in the nginx.conf.

Please correct me if I'm wrong.
Sorry for any grammer mistakes or misspelling. My English is poor.

<!-- gh-comment-id:1658092704 --> @xrh0905 commented on GitHub (Jul 31, 2023): > Member Hi. I'm currently trying to work on it, but I'm new to these. So,from what I can tell, Brotli support needs to be added upstream, which I opened a PR for that. However, I'm not good at databases nor at frontend. And I guess it's safe to just leave brotli on as default. It's should just work if you put `brotli on;` in the `nginx.conf`. Please correct me if I'm wrong. Sorry for any grammer mistakes or misspelling. My English is poor.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 23, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2016297456 --> @github-actions[bot] commented on GitHub (Mar 23, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (May 4, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2848913996 --> @github-actions[bot] commented on GitHub (May 4, 2025): Issue was closed due to inactivity.
Author
Owner

@PraveenAlexis commented on GitHub (Dec 5, 2025):

Member

Hi. I'm currently trying to work on it, but I'm new to these. So,from what I can tell, Brotli support needs to be added upstream, which I opened a PR for that. However, I'm not good at databases nor at frontend. And I guess it's safe to just leave brotli on as default. It's should just work if you put brotli on; in the nginx.conf.

Please correct me if I'm wrong. Sorry for any grammer mistakes or misspelling. My English is poor.

any update on this?

<!-- gh-comment-id:3615579205 --> @PraveenAlexis commented on GitHub (Dec 5, 2025): > > Member > > Hi. I'm currently trying to work on it, but I'm new to these. So,from what I can tell, Brotli support needs to be added upstream, which I opened a PR for that. However, I'm not good at databases nor at frontend. And I guess it's safe to just leave brotli on as default. It's should just work if you put `brotli on;` in the `nginx.conf`. > > Please correct me if I'm wrong. Sorry for any grammer mistakes or misspelling. My English is poor. any update on this?
Author
Owner

@leloyo commented on GitHub (Jan 16, 2026):

Notes for anyone considering adding this:

  • The base docker image uses OpenResty and exists in this project and extensions are defined here. You'll need to open a PR there for this first
  • The UI should to have a switch to enable Compression and then select between gzip and brotli (if I understand this correctly)
  • This compression setting would need to be stored in the database and would require a new migration file
  • The proxy host nginx template exists here and would need to know about the compression choice.

Any update on this? Happy to see if someone is willing to take the leap and move forward with the implementation ?

<!-- gh-comment-id:3759644483 --> @leloyo commented on GitHub (Jan 16, 2026): > Notes for anyone considering adding this: > > * The base docker image uses OpenResty and exists in [this project](https://github.com/NginxProxyManager/docker-nginx-full) and extensions are [defined here](https://github.com/NginxProxyManager/docker-nginx-full/blob/master/scripts/build-openresty). You'll need to open a PR there for this first > * [The UI](https://github.com/jc21/nginx-proxy-manager/blob/develop/frontend/js/app/nginx/proxy/form.ejs) should to have a switch to enable `Compression` and then select between gzip and brotli (if I understand this correctly) > * This compression setting would need to be stored in the database and would require a new [migration file](https://github.com/jc21/nginx-proxy-manager/tree/develop/backend/migrations) > * The proxy host nginx template [exists here](https://github.com/jc21/nginx-proxy-manager/blob/develop/backend/templates/proxy_host.conf) and would need to know about the compression choice. Any update on this? Happy to see if someone is willing to take the leap and move forward with the implementation ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#602
No description provided.