mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-27 00:09:34 -05:00
29 lines
621 B
Nginx Configuration File
29 lines
621 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 127.0.0.1:2003;
|
|
proxy_pass monitor.haveno.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;
|
|
}
|
|
}
|