1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-03-02 03:40:21 +00:00

add example config for nginx reverse proxy

This commit is contained in:
Oliver Giles
2021-07-24 20:08:11 +12:00
parent 2941a5abdd
commit 399f07cf3a
2 changed files with 54 additions and 0 deletions

View File

@@ -98,6 +98,8 @@ Laminar uses Server Sent Events to provide a responsive, auto-updating display w
If you use a reverse proxy to host Laminar at a subfolder instead of a subdomain root, the `<base href>` needs to be updated to ensure all links point to their proper targets. This can be done by setting `LAMINAR_BASE_URL` in `/etc/laminar.conf`.
See [this example configuration file for nginx](https://github.com/ohwgiles/laminar/blob/master/examples/nginx-ssl-reverse-proxy.conf).
## More configuration options
See the [reference section](#Service-configuration-file)