apxtrib/adminapi/www/adminapx/conf/nginx.conf.mustache

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-04-17 10:03:56 +00:00
user {{{sudoerUser}}};
2023-01-22 09:53:09 +00:00
worker_processes auto;
2023-04-17 10:03:56 +00:00
error_log {{{ }}}/var/log/nginx/error.log notice;
2023-01-22 09:53:09 +00:00
pid /var/run/nginx.pid;
#include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
2023-04-13 05:46:35 +00:00
2023-01-22 09:53:09 +00:00
log_format main '[$time_local]##"$http_x_forwarded_for"##"$request" '
'"$http_user_agent"';
log_format mainold '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format trace '$remote_addr - $remote_user [$time_local] '
'$host "$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" '
'"$http_x_forwarded_for" $request_id';
access_log /var/log/nginx/access.log main;
sendfile on;
keepalive_timeout 65;
gzip on;
##
# Virtual Host Configs
##
2023-04-13 05:46:35 +00:00
{{#nginx.include}}
2023-04-17 10:03:56 +00:00
include {{{.}}};
2023-04-13 05:46:35 +00:00
{{/nginx.include}}
2023-01-22 09:53:09 +00:00
}