Skip to content

Conversation

@s0up4200
Copy link
Collaborator

@s0up4200 s0up4200 commented Jul 7, 2025

Add separate public-only server that runs on a different port and serves only public endpoints, allowing users to safely expose speed test results to the internet without exposing admin interfaces or authentication forms.

Features:

  • Optional public server on configurable port (default: 7576)
  • Serves only /public dashboard UI and /api/speedtest/public/history API
  • Blocks all admin routes
  • Minimal middleware stack for performance
  • Clean logging with filtered 404s to reduce noise
  • Stub endpoints to prevent frontend errors
  • Comprehensive documentation and examples

Configuration:

  • [public_server] section in config.toml
  • Environment variables with NETRONOME__PUBLIC_SERVER_* prefix
  • Disabled by default

Add separate public-only server that runs on a different port and serves
only public endpoints, allowing users to safely expose speed test results
to the internet without exposing admin interfaces or authentication forms.

Features:
- Optional public server on configurable port (default: 7576)
- Serves only /public dashboard UI and /api/speedtest/public/history API
- Blocks all admin routes (/login, /admin, etc.) for security
- Minimal middleware stack for performance
- Clean logging with filtered 404s to reduce noise
- Stub endpoints to prevent frontend errors
- Comprehensive documentation and examples

Configuration:
- [public_server] section in config.toml
- Environment variables with NETRONOME__PUBLIC_SERVER_* prefix
- Disabled by default for security
@s0up4200 s0up4200 added enhancement New feature or request web labels Jul 7, 2025
@s0up4200 s0up4200 changed the title feat: add optional public server for secure reverse proxy deployments feat: add optional public server for reverse proxy deployments Jul 7, 2025
@s0up4200 s0up4200 marked this pull request as draft July 10, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants