mirror of
git://f0xx.org/android_cast
synced 2026-07-29 03:57:50 +03:00
snip
This commit is contained in:
@@ -40,9 +40,19 @@ Replace the whole **`server { listen 80; ... }`** block with:
|
||||
|
||||
**`examples/crash_reporter/backend/nginx.apps-port80.fragment`**
|
||||
|
||||
That file has hub + crashes + assets on **port 80**.
|
||||
That file has hub + crashes + build on **port 80**.
|
||||
|
||||
The **`listen 443 ssl`** block can stay for direct HTTPS to the VM if you use it internally; public traffic from FE never needs it for this app.
|
||||
Or run (from repo, with write access to the mount):
|
||||
|
||||
```bash
|
||||
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`**.
|
||||
|
||||
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.
|
||||
|
||||
Use prefix location for the hub (not `alias` to a single file):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user