haveno/monitor/nginx.conf

29 lines
621 B
Nginx Configuration File
Raw Permalink Normal View History

2021-05-04 20:20:01 -04:00
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 127.0.0.1:2003;
proxy_pass monitor.haveno.network:2002;
2021-05-04 20:20:01 -04:00
proxy_ssl on;
proxy_ssl_certificate /etc/nginx/cert.crt;
proxy_ssl_certificate_key /etc/nginx/cert.key;
proxy_ssl_session_reuse on;
}
}