(header_forward) {
    header_up X-Forwarded-Proto {scheme}
    header_up X-Forwarded-For {remote_host}
    header_up X-Real-IP {remote_host}
    header_up Host {host}
}

https://fb.petar.cc {
    reverse_proxy ip.petar.cc:3923 {
        import header_forward
    }
}

https://broadcast.petar.cc {
    reverse_proxy ip.petar.cc:8443 {
        import header_forward
    }
}

https://web.petar.cc {
    reverse_proxy ip.petar.cc:8096 {
        import header_forward
    }
}

https://zeroui.petar.cc {
    reverse_proxy ip.petar.cc:3000 {
        import header_forward
    }
}

https://git.petar.cc {
    reverse_proxy ip.petar.cc:8069 {
        import header_forward
    }
}

https://immich.petar.cc {
    reverse_proxy ip.petar.cc:2283 {
        import header_forward
    }
}

https://fika.petar.cc {
    reverse_proxy ip.petar.cc:4999 {
        import header_forward
    }
}
