http://flashcards.alexsears.org, http://flashcards.searshome.house {
    reverse_proxy 192.168.77.107:5000
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    request_body {
        max_size 10MB
    }
    log {
        output file /var/log/caddy/access.log
    }
}

http://lifenotes.alexsears.org, http://lifenotes.searshome.house {
    reverse_proxy 192.168.77.108:3001
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    request_body {
        max_size 10MB
    }
    log {
        output file /var/log/caddy/lifenotes.log
    }
}

http://assistant.alexsears.org, http://assistant.searshome.house {
    reverse_proxy https://192.168.77.109:5050 {
        transport http {
            tls_insecure_skip_verify
        }
    }
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    request_body {
        max_size 10MB
    }
    log {
        output file /var/log/caddy/assistant.log
    }
}

http://tax.alexsears.org, http://tax.searshome.house {
    reverse_proxy https://192.168.77.110:5050 {
        transport http {
            tls_insecure_skip_verify
        }
    }
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    request_body {
        max_size 10MB
    }
    log {
        output file /var/log/caddy/tax.log
    }
}

http://karaoke.alexsears.org, http://karaoke.searshome.house, http://karaoke.sears.home {
    reverse_proxy 192.168.77.113:8000
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    request_body {
        max_size 100MB
    }
    log {
        output file /var/log/caddy/karaoke.log
    }
}

http://jellyfish.alexsears.org, http://jellyfish.searshome.house, http://jellyfin.searshome.house {
    handle /api/* {
        reverse_proxy 127.0.0.1:8100
    }
    handle {
        root * /opt/jellyfish/frontend/dist
        try_files {path} /index.html
        file_server
    }
    encode gzip
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
    log {
        output file /var/log/caddy/jellyfish.log
    }
}

http://soundlab.alexsears.org, http://soundlab.searshome.house, http://soundlab.home {
    root * /opt/soundlab/dist
    try_files {path} /index.html
    file_server
    encode gzip
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
}

http://wealthplan.alexsears.org, http://wealthplan.searshome.house, http://wealthplan.sears.home {
    reverse_proxy 192.168.77.114:8000
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    request_body {
        max_size 10MB
    }
    log {
        output file /var/log/caddy/wealthplan.log
    }
}

http://bbq.alexsears.org {
    handle_path /ha-api/* {
        rewrite * /api{path}
        reverse_proxy http://192.168.77.50:8123 {
            header_up Host {upstream_hostport}
            header_up -X-Forwarded-For
            header_up -X-Forwarded-Proto
            header_up -X-Forwarded-Host
            header_up Authorization "Bearer {$HA_TOKEN}"
        }
    }
    root * /opt/intercom
    @root path /
    rewrite @root /coffee.html
    file_server
    encode gzip
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
}

http://intercom.alexsears.org, http://intercom.searshome.house, http://intercom.sears.home, http://192.168.77.112 {
    handle /api/* {
        reverse_proxy localhost:8060
    }
    handle_path /board/* {
        reverse_proxy 192.168.77.117:80
    }
    handle_path /board2/* {
        reverse_proxy 192.168.77.49:80
    }
    handle_path /ha-api/* {
        rewrite * /api{path}
        reverse_proxy http://192.168.77.50:8123 {
            header_up Host {upstream_hostport}
            header_up -X-Forwarded-For
            header_up -X-Forwarded-Proto
            header_up -X-Forwarded-Host
            header_up Authorization "Bearer {$HA_TOKEN}"
        }
    }
    handle {
        root * /opt/intercom
        try_files {path} /index.html
        file_server
    }
    encode gzip
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
}

http://pootcup.alexsears.org, http://pootcup.searshome.house, http://pootcup.home {
    root * /opt/pootcup
    try_files {path} /index.html
    file_server
    encode gzip
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
}

http://portfolio.alexsears.org, http://portfolio.searshome.house {
    root * /opt/portfolio
    file_server
    encode gzip
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
}

http://droppalottabot.alexsears.org, http://dropalottabot.alexsears.org, http://droppalottabot.searshome.house {
    reverse_proxy 192.168.77.109:8080
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    log {
        output file /var/log/caddy/droppalottabot.log
    }
}

http://jobs.alexsears.org, http://jobs.searshome.house, http://job-pipeline.com {
    reverse_proxy 192.168.77.109:8050
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        -X-Frame-Options
        -Server
    }
    log {
        output file /var/log/caddy/jobs.log
    }
}

http://lyriclens.alexsears.org, http://lyriclens.searshome.house, http://lyriclens.sears.home {
    redir /bbq /bbq/
    handle_path /ha-api/* {
        rewrite * /api{path}
        reverse_proxy http://192.168.77.50:8123 {
            header_up Host {upstream_hostport}
            header_up -X-Forwarded-For
            header_up -X-Forwarded-Proto
            header_up -X-Forwarded-Host
            header_up Authorization "Bearer {$HA_TOKEN}"
        }
    }
    handle /bbq* {
        root * /opt/intercom
        @bbqroot path /bbq
        rewrite @bbqroot /coffee.html
        rewrite * /coffee.html
        file_server
    }
    handle /api/lyriclens/* {
        reverse_proxy 127.0.0.1:8070
    }
    handle {
        root * /opt/lyriclens
        file_server
    }
    encode gzip
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
}

http://family.alexsears.org, http://eggers.alexsears.org, http://family.searshome.house, http://eggers.searshome.house, http://family.sears.home, http://sears.home {
    reverse_proxy 192.168.77.107:5080
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    request_body {
        max_size 25MB
    }
    log {
        output file /var/log/caddy/eggers.log
    }
}




http://thailand.alexsears.org, http://thailand.searshome.house, http://thailand.home {
    root * /opt/thailand-trip
    try_files {path} /index.html
    file_server
    encode gzip
    basic_auth {
        alex $2a$14$ewCGOu9Vl69LohuaAOHcdOsCI/gieiEFKPtErmwYwKnnjvb2ObVQW
    }
    header Content-Security-Policy "frame-ancestors *"
    header -X-Frame-Options
}

http://cry.alexsears.org, http://cry.searshome.house {
    reverse_proxy 192.168.77.109:8052
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    log {
        output file /var/log/caddy/cry.log
    }
}

http://roborock.alexsears.org, http://roborock.searshome.house {
    reverse_proxy 192.168.77.109:8054
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    log {
        output file /var/log/caddy/roborock.log
    }
}

http://thairom.alexsears.org, http://thairom.searshome.house, http://thairom.sears.home {
    root * /opt/thairom
    file_server
    encode gzip
    header {
        X-Content-Type-Options nosniff
        Content-Security-Policy "frame-ancestors *"
        Referrer-Policy strict-origin-when-cross-origin
        -X-Frame-Options
        -Server
    }
    log {
        output file /var/log/caddy/thairom.log
    }
}
