linuxserver / docker-swag

Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.
https://docs.linuxserver.io/general/swag
GNU General Public License v3.0
2.79k stars 239 forks source link

[FEAT] nginx brotli compression support #494

Open rootmax84 opened 1 month ago

rootmax84 commented 1 month ago

Is this a new feature request?

Wanted change

Missed libraries:

Reason for change

Better compression than old gzip

Proposed code change

Suggested nginx.conf changes:

brotli_static on;
brotli on;
brotli_comp_level 6;
brotli_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
github-actions[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 1 month ago

Well discuss internally if this is something we want to add but you will be able to add this yourself now via our universal package installer mod. (Assuming the packages are in alpines repo)

LinuxServer-CI commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.