Page 1 of 1

Reverse Proxy With Caddy Web Server

PostPosted: Wed May 20, 2020 11:58 pm
by LRanger
After dealing with foibles of Nginx & Letsencrypt ( etc.) to proxy Subsonic and other services, I decided to experiment with Caddy, it was a revelation. This is the section of the 'Caddyfile' for reverse proxying Subsonic - that's all I need (Letsencrypt ceertificates are handled automatically).

Code: Select all {


        header {
                # enable HSTS
                Strict-Transport-Security max-age=31536000;
        log {
                output file     /var/log/caddy/subsonic.log
                format single_field common_log
                level   error