1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 03:57:50 +03:00
This commit is contained in:
Anton Afanasyeu
2026-05-30 20:59:38 +02:00
parent 350f8343ad
commit 3390298322
3 changed files with 61 additions and 4 deletions

View File

@@ -48,11 +48,20 @@ Or run (from repo, with write access to the mount):
sudo ./examples/crash_reporter/backend/scripts/apply-be-port80-nginx.sh
```
**FE** (`tmp/FE_gentoo/etc/nginx/nginx.conf`): hub and crashes must use
`proxy_pass http://artc0.intra.raptor.org:80;` **without** a trailing slash or path suffix.
See **`nginx.fe-apps.f0xx.org.snippet`**.
**FE** (`tmp/FE_gentoo/etc/nginx/apps.conf`): build must proxy to BE **:443** like hub/crashes:
The **`listen 443 ssl`** block can stay for direct HTTPS to the VM if you use it internally; public traffic from FE should prefer **:80** for one consistent vhost.
```nginx
proxy_pass https://artc0.intra.raptor.org/app/androidcast_project/build/;
```
Do **not** use `http://artc0.intra.raptor.org:80` for build until BE `listen 80` includes the build block.
Copy from **`nginx.fe-apps.conf.fragment`** or run:
```bash
sudo ./examples/crash_reporter/backend/scripts/apply-build-nginx-fix.sh
```
**BE** `conf.d/apps_builder.frag` must use **full paths** (no `...` placeholders). Same script installs the repo fragment.
Use prefix location for the hub (not `alias` to a single file):