1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 08:44:09 +02:00
This commit is contained in:
Robin Appelman 2026-08-15 02:10:15 +02:00
commit c54302fdaa

View file

@ -300,14 +300,18 @@ proxy to allow using a wildcard domain.
- Setup `dnsmasq` to resolve `*.haze.test` to your development machine. - Setup `dnsmasq` to resolve `*.haze.test` to your development machine.
- Generate a wildcard ssl certificate for `*.haze.test` using `mkcert`: - Generate a wildcard ssl certificate for `*.haze.test` using `mkcert`:
```bash ```bash
# Generate local wildcard certificate # Generate local wildcard certificate
mkcert -cert-file <path-to-your-certificats>haze.test.crt -key-file <path-to-your-certificats>haze.test.key '*.haze.test' mkcert -cert-file <path-to-your-certificats>haze.test.crt -key-file <path-to-your-certificats>haze.test.key '*.haze.test'
``` ```
- Set up a service to run `haze proxy` in the background as your own user. A - Set up a service to run `haze proxy` in the background as your own user. A
systemd user service is recommended (see [haze.service](./haze.service) for an systemd user service is recommended (see [haze.service](./haze.service) for an
example). example).
- Setup a reverse proxy to proxy `*.haze.test` and `haze.test` to the `haze proxy`'s socket. Example for Nginx: - Setup a reverse proxy to proxy `*.haze.test` and `haze.test` to the
`haze proxy`'s socket. Example for Nginx:
```nginx ```nginx
upstream haze-handler { upstream haze-handler {
server unix:/run/haze/haze.sock; server unix:/run/haze/haze.sock;