http://VALET_SITE:80 {
    redir https://{host}{uri}
}

https://VALET_SITE:443 {
    tls VALET_CERT VALET_KEY

    fastcgi / FPM_ADDRESS php {
        index server.php
    }

    rewrite {
        to /server.php?{query}
    }
}
