Self-hosting the app
The self-hosted version of the app offers the same features as the online version, but with a smaller TCB, since Edgeless Systems and Cloudflare are excluded.
Obtaining the app
Either build from source or download the artifact from the release page.
Hosting the app
The app consists of static files and only needs an HTTP server. For a quick, single-user setup, Python works well:
python3 -m http.server 8080 -d ./web-app # or ./result/share, if you've built the app yourself
For multi-user deployments, use a reverse proxy such as nginx:
server {
listen 8080;
server_name localhost;
root /path/to/web-app;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}
note
For multi-user deployments, you'll most likely want to set up TLS and a domain name. See the nginx HTTPS documentation for details.
With either configuration, the app is available at http://localhost:8080.
Verification
To verify a self-hosted instance, follow the verify from source instructions.