> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanovm.dev.lithosai.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Serve something

> Expose a port on a public HTTPS URL.

```python theme={null}
sb.run("python -m http.server 8000", background=True)
url = sb.expose(8000).url                  # public HTTPS, live immediately
```

`sb.ingress()` lists a sandbox's exposures; `nv.ingress.delete(id)` removes one.
Anyone with the URL can reach the service — your application must provide any
required authentication.

## Sharp edges

The edge speaks HTTP/1.1 and h2 only (HTTP/1.0 gets `426`).
Across `archive()`/`unarchive()` the URL can 404 for a moment while the route
follows the new placement, and processes do not survive archiving — restart
your server after `unarchive()`. A deleted sandbox's URL can take \~30 s to fail
fast. Exposing an archived sandbox is allowed; the mapping goes live on
`unarchive()`.
