Skip to content

Instantly share code, notes, and snippets.

@dontdieych
Created September 23, 2025 17:27
Show Gist options
  • Select an option

  • Save dontdieych/e822d696d02c8f5ccba1ea739b0e9d26 to your computer and use it in GitHub Desktop.

Select an option

Save dontdieych/e822d696d02c8f5ccba1ea739b0e9d26 to your computer and use it in GitHub Desktop.
Q soju, gamja, caddy config.md
$ y -Ql gamja

gamja /etc/
gamja /etc/webapps/
gamja /etc/webapps/gamja/
gamja /etc/webapps/gamja/config.json
gamja /usr/
gamja /usr/share/
gamja /usr/share/doc/
gamja /usr/share/doc/gamja/
gamja /usr/share/doc/gamja/config.example.json
gamja /usr/share/webapps/
gamja /usr/share/webapps/gamja/
gamja /usr/share/webapps/gamja/config.json
gamja /usr/share/webapps/gamja/index.2fd01148.js
gamja /usr/share/webapps/gamja/index.2fd01148.js.map
gamja /usr/share/webapps/gamja/index.37aa9a8a.css
gamja /usr/share/webapps/gamja/index.37aa9a8a.css.map
gamja /usr/share/webapps/gamja/index.html
gamja /usr/share/webapps/gamja/manifest.webmanifest
$cat /etc/webapps/gamja/config.json 

{}
$ cat /etc/soju/config 

db sqlite3 /var/lib/soju/main.db
message-store fs /var/lib/soju/logs/
listen irc+insecure://asdf.tough-algol.ts.net
listen ws+insecure://asdf.tough-algol.ts.net:3030
listen unix+admin://
$ cat /etc/caddy/Caddyfile

alarm.wild-algol.ts.net {

    encode zstd gzip
    
    redir /thelounge /thelounge/
    route /thelounge/* {
            uri strip_prefix /thelounge
            reverse_proxy localhost:9000
    }
    
    handle_path /gamja/* {
        # FIXME reverse_proxy localhost:3030
    }
}
import /etc/caddy/conf.d/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment