Proper support for TLS termination on the proxy
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- docker-compose
- Bereich
- devops
Rechercherichtung
Start by tracing how the CODE Server deployment passes extra_params through to coolwsd.xml, and review the behavior discussed in #45 and #752. Done means a supported setting keeps generated URLs on HTTPS when ssl.enable=false, allowing TLS to terminate at the proxy; the issue reports no implementation files or tests.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Currently, deploying
services:
cms-collabora:
image: collabora/code
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Lisbon
- password=${COLLABORA_PASSWORD:?collabora password required}
- username=nextcloud
- domain=${DOMAIN}
# Caddy covers ssl
- extra_params=--o:ssl.enable=false --o:server_name=cms-collabora${DOMAIN}
expose:
- "9980"
and a proxy to forward traffic to port 9980 from cms-collabora${DOMAIN} results on the call
curl https://cms-collabora${DOMAIN}/hosting/discovery
to return stuff like
urlsrc="http://cms-collabora${DOMAIN}/browser/5aa2ead294/cool.html?
i.e. all urls to be of the form http://cms-collabora${DOMAIN}. This causes mixed content on a browser when trying to configure Nextcloud Office on the UI:
Your browser has been unable to connect to the Collabora server: http://cms-collabora$DOMAIN
This URL is determined on the Collabora server either from the configured URL or the server_name parameter in coolwsd.xml.
I tried to forward https on X-Forwarded-Proto and it is also ignored.
I would like to suggest an extra param that allows to keep https on all urls, even when ssl.enable=false.
Note that removing ssl.enable as suggested in #45 option only causes collabora to serve under its own certificates, which does not allow the user to control the certificates they use at the proxy level.
Related to #752.
- Vorherrschende Sprache
- PHP
- Sterne
- 156
- Forks
- 37
- Ø Merge
- 23 Std. 51 Min.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CollaboraOnline/richdocumentscode
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
CollaboraOnline/richdocumentscode#355 · 3 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
CollaboraOnline/richdocumentscode#339 · 2 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 43/100
CollaboraOnline/richdocumentscode#338 · 1 Kommentar ·
Alle Issues in CollaboraOnline/richdocumentscode
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
vimeo/psalm#14139 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
sync-en
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
sync-en
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 79/100
Maintainer antworten meist innerhalb von 1 Tag
-
product/editor-v4 status/awaiting_triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
wpvc
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 67/100
10up/simple-local-avatars#386 ·