mirror of
git://f0xx.org/android_cast
synced 2026-07-29 03:57:50 +03:00
snapshot
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user