Deploy with Docker Compose / deploy (push) Successful in 1m1s
Quartz was already replaced by silverbullet-public; its build context moves to .deprecated/quartz. Hasura and autoheal are removed from the stack, with their compose services (and Hasura's nginx blocks) kept verbatim under .deprecated/ alongside a README on how to bring each back. Removes the /hasura/ route from both nginx templates and the envsubst allow-list, and updates the docs and comments that referred to the three services. With autoheal gone nothing restarts an unhealthy container; the healthchecks are now informational only, and the docs say so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
22 lines
876 B
Plaintext
22 lines
876 B
Plaintext
# STATUS: deprecated. The /hasura/ blocks removed from nginx.conf.template and
|
|
# nginx_dev_common.conf.template (identical in both). See ../README.md.
|
|
set $upstream_hasura http://$HASURA_HOST:$HASURA_PORT;
|
|
|
|
location /hasura {
|
|
return 301 /hasura/;
|
|
}
|
|
|
|
location /hasura/ {
|
|
auth_request /internal/auth/admin-validate;
|
|
error_page 401 403 = @auth_denied;
|
|
rewrite ^/hasura/(.*)$ /$1 break;
|
|
proxy_pass $upstream_hasura;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
}
|