Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 422 Bytes

File metadata and controls

21 lines (17 loc) · 422 Bytes
id haproxy
title Haproxy reverse proxy

Here are configuration examples for setting up Haproxy as reverse proxy for gotify/server.

Proxy requests

frontend www
    bind 0.0.0.0:80
    default_backend backend_gotify
    timeout client 60s
    timeout client-fin 30s

backend backend_gotify
    server  backend01       127.0.0.1:GOTIFY_PORT  check
    timeout connect 10s
    timeout server 60s