luizfonseca / proksi

Batteries-included CDN, reverse proxy and Load Balancer with Docker support using Cloudflare Pingora.
https://docs.proksi.info
Apache License 2.0
46 stars 1 forks source link

[REQUEST] WebAdmin UI #49

Open adammakowskidev opened 2 months ago

adammakowskidev commented 2 months ago

Is your feature request related to a problem? Please describe. WebAdmin UI to manage server config files. Reload and restart options also.

Describe the solution you'd like Admin available under the port or using an additional domain.

Describe alternatives you've considered

Additional context

luizfonseca commented 2 months ago

@adammakowskidev I was thinking about it eventually, but I will probably make this an API so anyone could build a frontend for it and expose it as another service:

// fake code
background_service(AdminApi::new()) // > exposed at localhost:7555/api

then you can add to the configs any app that consumes that


routes = [
 { 
   host = "admin-ui.domain.com"
  # This app has access to localhost:7555/api
   upstreams = [ { ip = "app.localhost", port = 3000  }]

   plugins = [ oauth2_plugin, basic_auth, jwt ... ] 
 } 
]

In those lines, what do you think? 🤔

adammakowskidev commented 2 months ago

@luizfonseca I had in mind for the global management of the server by the administrator.