How angelocassella/mio-server-multisito works
This repository is a multisite server hosting separate web applications behind Nginx, with Python backends and a shared MySQL service. The RegistroSport workflow is browser interaction, frontend state loading and updates, authenticated API handling, then persistent state access. Progetto1 currently exposes health and database-connectivity endpoints alongside its frontend. The README documents domain-based routing and containerized services; deployment wiring is not shown in sampled source, so those relationships are documented at that level rather than inferred from Compose configuration.
Main entry points: nginx.conf Nginx routing · index.html Registro page · main.py Registro API · app.js Registro interface
Components 10
Shared routing
- Nginx routing
nginx/nginx.conf - Shared MySQL
RegistroSport
- Registro interface
frontends/registrosport/app.js - Registro API
services/registrosport/main.py - Registro state
services/registrosport/main.py - Registro page
frontends/registrosport/index.html - Registro styling
frontends/registrosport/styles.css
Progetto1
- Progetto1 page
frontends/progetto1/index.html - Progetto1 API
services/progetto1/main.py
Other components
- Site visitor
Connections 11
- Site visitor → Nginx routing: requests site
README.md - Nginx routing → Registro page: serves site
README.md - Nginx routing → Registro API: routes by domain
README.md - Nginx routing → Progetto1 page: serves site
README.md - Nginx routing → Progetto1 API: routes by domain
README.md - Registro page → Registro styling: uses styles
- Registro page → Registro interface: loads script
- Registro interface → Registro API: fetches state
frontends/registrosport/app.js - Registro API → Registro state: reads and writes
services/registrosport/main.py - Registro state → Shared MySQL: persists in
README.md - Progetto1 API → Shared MySQL: tests connection
services/progetto1/main.py