mirror of
https://github.com/jakejarvis/mastodon-utils.git
synced 2026-10-31 10:06:21 -04:00
commit more config files (safely)
This commit is contained in:
8 files changed
+3758
-5
No files matched your search
@@ -0,0 +1,50 @@
|
||||
user mastodon; # jake: changed from nginx
|
||||
worker_processes auto;
|
||||
pid /run/nginx.pid;
|
||||
|
||||
# jake: added
|
||||
load_module modules/ngx_http_brotli_filter_module.so;
|
||||
load_module modules/ngx_http_brotli_static_module.so;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
##
|
||||
# Basic Settings
|
||||
##
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
|
||||
# jake: added (prometheus target)
|
||||
server {
|
||||
listen 9181;
|
||||
location /metrics {
|
||||
stub_status on;
|
||||
allow 127.0.0.1;
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
##
|
||||
# Virtual Host Configs
|
||||
##
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/sites-enabled/*;
|
||||
}
|
||||
Reference in new issue
Block a user