Inf
Inf
DDokploy
Created by Inf on 4/4/2025 in #help
Failed to parse URL from https: /api/auth/get-session
its Dokploy @Henrik
5 replies
DDokploy
Created by Inf on 4/4/2025 in #help
Failed to parse URL from https: /api/auth/get-session
?
5 replies
DDokploy
Created by Inf on 4/4/2025 in #help
Failed to parse URL from https: /api/auth/get-session
k... up please
5 replies
DDokploy
Created by Inf on 2/3/2025 in #help
Dokploy to HAProxy
Up
6 replies
DDokploy
Created by Inf on 2/3/2025 in #help
Dokploy to HAProxy
I was thinking of using a full strict on Cloudflare and the Origin certificate because I need to be able to modify the headers just in case
6 replies
DDokploy
Created by Inf on 2/3/2025 in #help
Dokploy to HAProxy
so it will be another domain
6 replies
DDokploy
Created by Inf on 2/3/2025 in #help
Dokploy to HAProxy
here is the basic configuration that i'm doing with my first vps:
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats timeout 30s
user haproxy
group haproxy
daemon

defaults
log global
timeout connect 5000
timeout client 50000
timeout server 50000

frontend frontend_http
bind *:80
mode http
option httplog

use_backend client1_http if { hdr_end(host) -i docker.tld }
use_backend client2_http if { hdr_end(host) -i dokploy.tld }

frontend frontend_https
bind *:443
mode tcp
option tcplog
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }

use_backend client1_https if { req.ssl_sni -m end docker.tld }
use_backend client2_https if { req.ssl_sni -m end dokploy.tld }

backend client1_http
mode http
server client1_http 10.0.0.2:80 send-proxy-v2 check

backend client1_https
mode tcp
server client1_https 10.0.0.2:443 send-proxy-v2 check

backend client2_http
mode http
server client2_http 10.0.0.3:80 send-proxy-v2 check

backend client2_https
mode tcp
server client2_https 10.0.0.3:443 send-proxy-v2 check
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats timeout 30s
user haproxy
group haproxy
daemon

defaults
log global
timeout connect 5000
timeout client 50000
timeout server 50000

frontend frontend_http
bind *:80
mode http
option httplog

use_backend client1_http if { hdr_end(host) -i docker.tld }
use_backend client2_http if { hdr_end(host) -i dokploy.tld }

frontend frontend_https
bind *:443
mode tcp
option tcplog
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }

use_backend client1_https if { req.ssl_sni -m end docker.tld }
use_backend client2_https if { req.ssl_sni -m end dokploy.tld }

backend client1_http
mode http
server client1_http 10.0.0.2:80 send-proxy-v2 check

backend client1_https
mode tcp
server client1_https 10.0.0.2:443 send-proxy-v2 check

backend client2_http
mode http
server client2_http 10.0.0.3:80 send-proxy-v2 check

backend client2_https
mode tcp
server client2_https 10.0.0.3:443 send-proxy-v2 check
6 replies