1
mirror of https://github.com/jakejarvis/mastodon-utils.git synced 2025-10-25 15:15:48 -04:00

commit tweaked installer script (with more safeguards if you're not me)

This commit is contained in:
2022-12-18 14:42:59 -05:00
parent 617bb74474
commit 7a7c349ded
11 changed files with 317 additions and 60 deletions

View File

@@ -3,7 +3,7 @@ worker_processes auto;
pid /run/nginx.pid;
# compiled brotli modules from https://github.com/google/ngx_brotli
# see: https://github.com/jakejarvis/mastodon-utils/wiki/Brotli-compression-for-nginx
# see: https://github.com/jakejarvis/mastodon-utils/wiki/nginx#brotli-compression
load_module modules/ngx_http_brotli_filter_module.so;
load_module modules/ngx_http_brotli_static_module.so;

View File

@@ -52,7 +52,7 @@ server {
image/x-icon image/x-win-bitmap text/css text/javascript text/plain text/xml;
# https://github.com/google/ngx_brotli#sample-configuration
# https://github.com/jakejarvis/mastodon-utils/wiki/Brotli-compression-for-nginx
# https://github.com/jakejarvis/mastodon-utils/wiki/nginx#brotli-compression
brotli on;
brotli_comp_level 4;
brotli_static on;