mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
794302678d
* Install script for collectd * Install script for network size metric * Apply suggestions from code review Co-Authored-By: wiz <j@wiz.biz> * Update monitor/install_collectd_debian.sh Co-Authored-By: wiz <j@wiz.biz> * Apply suggestions from code review Co-Authored-By: wiz <j@wiz.biz> Co-authored-by: wiz <j@wiz.biz>
31 lines
640 B
Nginx Configuration File
31 lines
640 B
Nginx Configuration File
load_module /usr/lib/nginx/modules/ngx_stream_module.so;
|
|
|
|
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
stream {
|
|
|
|
log_format basic '$remote_addr [$time_local] '
|
|
'$protocol Status $status Sent $bytes_sent Received $bytes_received '
|
|
'Time $session_time';
|
|
|
|
error_log syslog:server=unix:/dev/log;
|
|
access_log syslog:server=unix:/dev/log basic;
|
|
|
|
server {
|
|
listen 2003;
|
|
allow 127.0.0.1;
|
|
deny all;
|
|
proxy_pass monitor.bisq.network:2002;
|
|
proxy_ssl on;
|
|
|
|
proxy_ssl_certificate /etc/nginx/cert.crt;
|
|
proxy_ssl_certificate_key /etc/nginx/cert.key;
|
|
|
|
proxy_ssl_session_reuse on;
|
|
}
|
|
}
|