mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
* 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>
30 lines
640 B
Nginx Configuration File
30 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;
|
|
}
|
|
}
|