HAProxy Manager
Dashboard
๐ Add Domain
Domains
Frontends
Backends
Configs
Servers
ACL Rules
Certs
Gunicorn
Firewall
Check Domain
Settings
Login
๐
Frontends
โ๏ธ
Backends
๐งพ Web Server Config
Select a server to view its configuration
Server
nginx
apache
File
-- Select a config file --
api.camthis.net.conf
api.cyvoo.com.conf
appapi.cyvoo.com.conf
be.cyvoo.com.conf
haproxy.lawmatic.vn.conf
kong.cyvoo.com.conf
noviv.com.conf
All
0-9
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
View
Directory:
/etc/nginx/conf.d/
# Redirect HTTP to HTTPS upstream haproxyUI { server unix:/run/haproxyUI.sock fail_timeout=0; } server { listen 127.0.0.1:80; server_name haproxy.lawmatic.vn; location / { return 301 https://$host$request_uri; } location /.well-known/acme-challenge/ { root /var/www/certbot; } } # HTTPS server block server { listen 127.0.0.1:443 ssl; http2 on; server_name haproxy.lawmatic.vn; #set $upstream http://127.0.0.1:8011; access_log /var/log/nginx/haproxy.lawmatic.vn.access.log; error_log /var/log/nginx/haproxy.lawmatic.vn-error.log; ssl_certificate /etc/letsencrypt/live/haproxy.lawmatic.vn/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/haproxy.lawmatic.vn/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; location / { proxy_pass http://haproxyUI; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; client_max_body_size 50M; proxy_connect_timeout 60s; proxy_read_timeout 60s; proxy_send_timeout 60s; } }
Save
Reload