/admin/ is 404 on the public short host on purpose. Local Django admin should be reachable from another machine on the LAN at http://10.0.0.128:8005/admin/.
Do:
Add 10.0.0.128 to SHORT_ADMIN_HOSTS (and DJANGO_ALLOWED_HOSTS so Django accepts the Host header)
Pass SHORT_ADMIN_HOSTS into the compose web container (it is currently omitted, so .env never reaches Django)
Bind local compose so the port is reachable on the LAN, not only 127.0.0.1
Do not add piha.li / piha.lc to admin hosts
Also: admin should have an easy short-URL creator:
Fields: domain, campaign, source, metric
Save mints a short link to https://{domain}/ with utm_campaign, utm_source, utm_medium (metric)
Show the resulting short URL with a copy button
Staff login still required. Public /admin/ stays 404.
`/admin/` is 404 on the public short host on purpose. Local Django admin should be reachable from another machine on the LAN at `http://10.0.0.128:8005/admin/`.
**Do:**
- Add `10.0.0.128` to `SHORT_ADMIN_HOSTS` (and `DJANGO_ALLOWED_HOSTS` so Django accepts the Host header)
- Pass `SHORT_ADMIN_HOSTS` into the compose `web` container (it is currently omitted, so `.env` never reaches Django)
- Bind local compose so the port is reachable on the LAN, not only `127.0.0.1`
- Do **not** add `piha.li` / `piha.lc` to admin hosts
**Also:** admin should have an easy short-URL creator:
- Fields: domain, campaign, source, metric
- Save mints a short link to `https://{domain}/` with `utm_campaign`, `utm_source`, `utm_medium` (metric)
- Show the resulting short URL with a copy button
Staff login still required. Public `/admin/` stays 404.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
/admin/is 404 on the public short host on purpose. Local Django admin should be reachable from another machine on the LAN athttp://10.0.0.128:8005/admin/.Do:
10.0.0.128toSHORT_ADMIN_HOSTS(andDJANGO_ALLOWED_HOSTSso Django accepts the Host header)SHORT_ADMIN_HOSTSinto the composewebcontainer (it is currently omitted, so.envnever reaches Django)127.0.0.1piha.li/piha.lcto admin hostsAlso: admin should have an easy short-URL creator:
https://{domain}/withutm_campaign,utm_source,utm_medium(metric)Staff login still required. Public
/admin/stays 404.