diff --git a/docker-compose.yml b/docker-compose.yml index e801ed0d..d233b68d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3777,6 +3777,26 @@ services: swag: enable swag_url: kanban.${MY_TLD} swag_port: 1337 + swag_server_custom_directive: + location ~* \.io { + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + client_max_body_size 50M; + proxy_set_header Host $http_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_set_header X-Frame-Options SAMEORIGIN; + proxy_buffers 256 16k; + proxy_buffer_size 16k; + client_body_timeout 60; + send_timeout 300; + lingering_timeout 5; + proxy_connect_timeout 1d; + proxy_send_timeout 1d; + proxy_read_timeout 1d; + proxy_pass http://planka; + } swag.uptime-kuma.enabled: true swag.uptime-kuma.monitor.url: https://kanban.${MY_TLD} swag.uptime-kuma.monitor.interval: 300