Updating with the latest images

The latest images don't have a bash/sh anymore, so it needs node to
initialise it.
This commit is contained in:
Linus Gasser
2026-11-20 18:12:38 +01:00
parent 91dd9c5389
commit 1f6ada41e9
3 changed files with 27 additions and 7 deletions
+8 -2
View File
@@ -13,6 +13,12 @@ server {
# Disables server version feedback on pages and in headers
server_tokens off;
# Docker's embedded DNS. Used to resolve yhub per request (via a variable
# in proxy_pass) so nginx doesn't refuse to start while yhub isn't healthy
# yet: swarm only publishes a service's DNS name once it has a healthy task.
resolver 127.0.0.11 valid=10s ipv6=off;
set $yhub_upstream http://{{ env "STACK_NAME" }}_yhub:3002;
location @proxy_to_docs_backend {
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $http_host;
@@ -62,7 +68,7 @@ server {
proxy_set_header Connection "Upgrade";
# Collaboration server
proxy_pass http://{{ env "STACK_NAME" }}_yhub:3002;
proxy_pass $yhub_upstream;
# Set appropriate timeout for WebSocket
proxy_read_timeout 86400;
@@ -76,7 +82,7 @@ server {
# Document routes (http fallback, history) and the public keys of yhub
location ~ ^/collaboration/(ydoc|activity|changeset|rollback|jwks)/ {
proxy_pass http://{{ env "STACK_NAME" }}_yhub:3002;
proxy_pass $yhub_upstream;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Origin $http_origin;
proxy_set_header Host $host;