diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/nginx.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/nginx.md b/docs/nginx.md index 43658d3..cf59152 100644 --- a/docs/nginx.md +++ b/docs/nginx.md @@ -110,6 +110,15 @@ server { } ``` +For the `vesuvio.pu.ac.uk/gn4` deployment as configured, +[`etc/nginx-vesuvio.pu.ac.uk.conf`](../etc/nginx-vesuvio.pu.ac.uk.conf) is +the same thing as a complete, drop-in file -- TLS, log format, the `/gn4` +redirect, and the `/compute/` and `/get-test-token` refusals. Note that +it refuses `/compute/*`: those endpoints take server-side file paths, so +they belong on the internal listener only (see the operator checklist in +[`docs/www/ai-instruction.md`](www/ai-instruction.md)); drop the two +`location` lines only if every token holder may read the server's files. + `http2 on;` needs nginx >= 1.25.1; on older versions use `listen 443 ssl http2;`. The block above (minus the `ssl_*` lines and the TLS listener) is tested against nginx 1.28: `nginx -t` accepts it, and with |
