# SITE_ADDRESS is set from the .env file.
#  - ":80"          -> plain HTTP on port 80 (reach the app at http://SERVER_IP)
#  - "cryptoipg.com"-> automatic HTTPS via Let's Encrypt
{$SITE_ADDRESS} {
    encode gzip
    reverse_proxy app:80 {
        header_up X-Forwarded-Proto {scheme}
    }
}
