mirror of
https://github.com/deunix-educ/mediadeck.git
synced 2026-11-25 04:39:42 +01:00
Installation: tell VPN users to set advertise_host before make cert
make url, make qr and make cert take the PC address from the default route, which goes through the tunnel when a VPN is active (e.g. 10.2.0.2 with Proton VPN's WireGuard); the QR code then points to an address the tablet cannot reach and the HTTPS certificate is issued for it. The README (fr/en) installation steps, the example config and CLAUDE.md now say to put the PC's local-network address in server.advertise_host before make cert, how to find it (ip -4 -br addr), and that rerunning make cert afterwards reissues the server certificate while keeping the CA. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-2
@@ -5,8 +5,10 @@
|
||||
# 0.0.0.0 = toutes les interfaces ; préférer l'IP LAN du PC si possible
|
||||
host = "0.0.0.0"
|
||||
port = 8765
|
||||
# Adresse affichée dans l'URL et le QR code (`make url`) ; à renseigner si la détection
|
||||
# automatique choisit une mauvaise interface (VPN, Docker…). Nom d'hôte ou IPv4.
|
||||
# Adresse affichée dans l'URL et le QR code (`make url`) et pour laquelle `make cert` émet le certificat HTTPS.
|
||||
# À RENSEIGNER AVANT `make cert` si le PC utilise un VPN (WireGuard, Proton VPN…) ou Docker : la détection
|
||||
# automatique suit la route par défaut, qui passe alors par le tunnel (ex. 10.2.0.2), injoignable par la tablette.
|
||||
# Mettre l'adresse du PC sur le réseau local (`ip -4 -br addr`, interface enp…/eno…/wlp…). Nom d'hôte ou IPv4.
|
||||
# advertise_host = "192.168.1.104"
|
||||
# HTTPS : `make cert` crée une CA locale + un certificat et renseigne ces trois lignes.
|
||||
# La tablette doit installer la CA une fois (https://<ip>:<port>/ca.crt).
|
||||
|
||||
Reference in New Issue
Block a user