mirror of
https://github.com/jakejarvis/mastodon-utils.git
synced 2026-10-31 10:06:21 -04:00
add ElasticSearch notes
This commit is contained in:
7 files changed
+89
-64
No files matched your search
+10
-10
@@ -1,4 +1,4 @@
|
||||
user mastodon; # jake: changed from nginx
|
||||
user mastodon; # changed from 'nginx'
|
||||
worker_processes auto;
|
||||
pid /run/nginx.pid;
|
||||
|
||||
@@ -7,7 +7,7 @@ load_module modules/ngx_http_brotli_filter_module.so;
|
||||
load_module modules/ngx_http_brotli_static_module.so;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
@@ -24,7 +24,14 @@ http {
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
|
||||
# jake: added (prometheus target)
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
# stats for prometheus nginx exporter
|
||||
server {
|
||||
listen 9181;
|
||||
location /metrics {
|
||||
@@ -34,13 +41,6 @@ http {
|
||||
}
|
||||
}
|
||||
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
##
|
||||
# Virtual Host Configs
|
||||
##
|
||||
|
||||
Reference in new issue
Block a user