Files
brass-and-sigil/server/deploy/bns-admin.sijbers.uk.conf
Matt Sijbers a1331212cb Initial commit: Brass & Sigil monorepo
Self-hosted Minecraft modpack distribution + administration system.

- launcher/  Avalonia 12 desktop client; single-file win-x64 publish.
             Microsoft auth via XboxAuthNet, manifest+SHA-1 mod sync,
             portable install path, sidecar settings.
- server/    brass-sigil-server daemon (.NET 8, linux-x64). Wraps the
             MC subprocess, embedded Kestrel admin panel with cookie
             auth + rate limiting, RCON bridge, scheduled backups,
             BlueMap CLI integration with player markers + skin proxy,
             friend-side whitelist request flow, world wipe with seed
             selection (keep current / random / custom).
- pack/      pack.lock.json (Modrinth + manual CurseForge entries),
             data-only tweak source under tweaks/, build outputs in
             overrides/ (gitignored).
- scripts/   Build-Pack / Build-Tweaks / Update-Pack / Check-Updates
             plus Deploy-Brass.ps1 unified one-shot deploy with
             version-bump pre-flight and daemon-state detection.
2026-05-05 00:19:05 +01:00

28 lines
1022 B
Plaintext

# /etc/apache2/sites-available/bns-admin.sijbers.uk.conf
#
# Reverse-proxy vhost for the brass-sigil-server admin panel.
# certbot will manage the SSL config (certificate paths, redirect from :80, etc.)
# when run as: sudo certbot --apache -d bns-admin.sijbers.uk
<VirtualHost *:80>
ServerName bns-admin.sijbers.uk
ProxyPreserveHost On
ProxyRequests Off
# SSE log stream needs streaming responses, not buffered ones.
SetEnv no-gzip 1
SetEnv proxy-sendcl 1
# `flushpackets=on` is the SSE-critical bit on Apache -- pushes each chunk
# straight through instead of batching for ~60 s.
ProxyPass / http://127.0.0.1:8080/ flushpackets=on keepalive=On
ProxyPassReverse / http://127.0.0.1:8080/
# So brass-sigil-server's rate limiter sees the real client IP, not 127.0.0.1.
RequestHeader set X-Forwarded-Proto "https"
ErrorLog ${APACHE_LOG_DIR}/bns-admin.sijbers.uk-error.log
CustomLog ${APACHE_LOG_DIR}/bns-admin.sijbers.uk-access.log combined
</VirtualHost>