avoid hard-coding 'mastodon' as the non-root user

This commit is contained in:
jake committed 2022-12-19 20:24:37 -05:00
1 parent 27623a70f5
commit c925511240
8 files changed
+65 -55

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
user mastodon; # changed from 'nginx'
user nginx;
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/nginx#brotli-compression
load_module modules/ngx_http_brotli_filter_module.so;
load_module modules/ngx_http_brotli_static_module.so;
# load_module modules/ngx_http_brotli_filter_module.so;
# load_module modules/ngx_http_brotli_static_module.so;
events {
worker_connections 1024;