diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-07 14:03:02 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-07 14:03:02 +0000 |
| commit | 79fc027198dadfc55ddc13691f7f09deff012ff0 (patch) | |
| tree | d88f527c431b15319a2e5aee3e73a979bce1f0c1 /test/python/test_openapi.py | |
| parent | ea2af939642cd7cc780becdcad5e3ab9b478ef26 (diff) | |
| download | genenetwork4-79fc027198dadfc55ddc13691f7f09deff012ff0.tar.gz | |
etc: split the http redirect into its own server block
The installed copy merged certbot's port-80 redirect into the TLS block, which makes that block an HTTP one (listen 80) -- so the /gn4 mount was only reachable over plain HTTP and https://…/gn4 fell through to the default server. The same redirect left inside a restored `listen 443 ssl` block would point at itself, since hosts matching `$host` would be redirected to the URL they already asked for. So the port 80 block exists only for the redirect, and www is dropped from server_name: the certificate's subjectAltName is only vesuvio.pu.ac.ke, so https://www.<host> cannot be served until the certificate covers it. * etc/nginx-vesuvio.pu.ac.ke.conf (server): new listen-80 redirect block; drop www from the TLS block's server_name.
Diffstat (limited to 'test/python/test_openapi.py')
0 files changed, 0 insertions, 0 deletions
