custom nginx log location
parent
b8e3d60767
commit
698f1ee1e3
|
@ -26,6 +26,7 @@ mumble_web_websockify_port: "64737"
|
|||
|
||||
mumble_web_nginx_enabled: yes
|
||||
mumble_web_nginx_config_dir: /etc/nginx
|
||||
mumble_web_nginx_log_dir: /var/log/nginx
|
||||
mumble_web_nginx_generate_dhparam: yes
|
||||
mumble_web_nginx_dhparam: "{{ mumble_web_nginx_config_dir }}/ssl/dhparam.pem"
|
||||
mumble_web_nginx_dhparam_size: 2048
|
||||
|
|
|
@ -15,6 +15,9 @@ server {
|
|||
try_files $uri =404;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
access_log {{ mumble_nginx_log_dir }}/{{ mumble_nginx_domains | first }}-access.log;
|
||||
error_log {{ mumble_nginx_log_dir }}/{{ mumble_nginx_domains | first }}-error.log;
|
||||
}
|
||||
|
||||
server {
|
||||
|
@ -59,6 +62,9 @@ server {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
}
|
||||
|
||||
access_log {{ mumble_nginx_log_dir }}/{{ mumble_nginx_domains | first }}-access.log;
|
||||
error_log {{ mumble_nginx_log_dir }}/{{ mumble_nginx_domains | first }}-error.log;
|
||||
}
|
||||
|
||||
map $http_upgrade $connection_upgrade {
|
||||
|
|
Loading…
Reference in New Issue