diff --git a/sim/cluster0/nginx/apps-port80.conf b/sim/cluster0/nginx/apps-port80.conf index 524cb8e..494b026 100644 --- a/sim/cluster0/nginx/apps-port80.conf +++ b/sim/cluster0/nginx/apps-port80.conf @@ -11,6 +11,11 @@ server { listen 80 default_server; listen [::]:80 default_server; + # FE proxies https://apps.f0xx.org/ here as GET / — hub lives under /app/androidcast_project/ + location = / { + return 301 https://$http_host/app/androidcast_project/; + } + # OTA v0 static tree — devices fetch https://apps.f0xx.org/v0/ota/channel/stable.json location ^~ /v0/ota/ { alias /var/www/localhost/htdocs/apps/app/androidcast_project/ota-artifacts/v0/ota/;