diff options
| author | Frederick Muriuki Muriithi | 2025-10-20 09:58:27 -0500 |
|---|---|---|
| committer | Pjotr Prins | 2026-01-05 11:12:11 +0100 |
| commit | 0e6f27347d199446e3060ef146050f91241afba8 (patch) | |
| tree | 517bfdabdb4437552ab0630ff733ce2a0f585fea /issues/acme-error.gmi | |
| parent | 4be9116d604c42ae88a3f22c947a42efe1546ffc (diff) | |
| download | gn-gemtext-0e6f27347d199446e3060ef146050f91241afba8.tar.gz | |
Document fix for ACME error.
Diffstat (limited to 'issues/acme-error.gmi')
| -rw-r--r-- | issues/acme-error.gmi | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/issues/acme-error.gmi b/issues/acme-error.gmi index a6f4bff..b31d04b 100644 --- a/issues/acme-error.gmi +++ b/issues/acme-error.gmi @@ -2,7 +2,7 @@ ## Tags -* status: open +* status: closed, completed * priority: high * type: bug * assigned: fredm @@ -64,3 +64,43 @@ uacme: failed to authorize order at https://acme-v02.api.letsencrypt.org/acme/or ``` meaning that somehow, nginx is not able to serve up this file. + +## Discovered Cause: 2025-10-20 + +There are 2 layers of nginx, the host nginx, and the internal/container nginx. + +The host nginx was proxying directly to the virtuoso http server rather than proxying to nte internal/container nginx. This led to the failure because the internal/container nginx handles the TLS/SSL certificates for the site. The host nginx should have offloaded the handling of the TLS/SSL certificates to the internal/container nginx, but since it was not going through the internal nginx, that led to the failure. + +A simile of the error condition and the solution are in the sections below: + +### Error Condition: Wrong proxying + +In host's "nginx.conf": +``` +⋮ + proxy_pass http://localhost:<virtuoso-http-server-port>; +⋮ +``` + +In internal/container "nginx.conf": +``` +⋮ + proxy_pass http://localhost:<virtuoso-http-server-port>; +⋮ +``` + +### Solution/Fix + +In host's "nginx.conf": +``` +⋮ + proxy_pass http://localhost:<container-nginx-http-port>; +⋮ +``` + +In internal/container "nginx.conf": +``` +⋮ + proxy_pass http://localhost:<virtuoso-http-server-port>; +⋮ +``` |
