From a2d3babbc52c83bb0c6c9fb9accefbdeb160e59b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mu=CC=88ller?= Date: Wed, 21 Oct 2020 14:22:48 +0300 Subject: [PATCH] Updates --- docs/ocis/deployment/ocis_oc10_backend.md | 8 ++++---- docs/ocis/deployment/ocis_traefik.md | 18 ++++++++---------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/docs/ocis/deployment/ocis_oc10_backend.md b/docs/ocis/deployment/ocis_oc10_backend.md index 0fa9c1ef0..660c78f47 100644 --- a/docs/ocis/deployment/ocis_oc10_backend.md +++ b/docs/ocis/deployment/ocis_oc10_backend.md @@ -54,10 +54,8 @@ oc10 is running as a three container setup out of owncloud-server, a db containe ``` ocis_oc10_backend # rootfolder -│ README.md │ .env │ docker-compose.yml -│ docker-compose-local.yml │ └───ocis #ocis related config files │ │ identifier-registration.yml @@ -142,10 +140,12 @@ clients: insecure: yes trusted: yes redirect_uris: - - http://ocis.domain.com - - http://ocis.domain.com/oidc-callback.html + - http://ocis.domain.com/ - https://ocis.domain.com/ + - http://ocis.domain.com/oidc-callback.html - https://ocis.domain.com/oidc-callback.html + - http://ocis.domain.com/oidc-silent-redirect.html + - https://ocis.domain.com/oidc-silent-redirect.html origins: - http://ocis.domain.com - https://ocis.domain.com diff --git a/docs/ocis/deployment/ocis_traefik.md b/docs/ocis/deployment/ocis_traefik.md index 6320326c6..5bf8470d0 100644 --- a/docs/ocis/deployment/ocis_traefik.md +++ b/docs/ocis/deployment/ocis_traefik.md @@ -62,10 +62,6 @@ Edit docker-compose.yml file to fit your domain setup ... ``` -A folder for letsencypt to store the certificate needs to be created -`$ mkdir ~/letsencrypt` -This folder is bind to the docker container and the certificate is persistently stored into it. - In this example, ssl is terminated from traefik while inside of the docker network the services are comunicating via http. For this `PROXY_TLS: "false"` as environment parameter for ocis has to be set. For ocis to work properly it's neccesary to provide one config file. @@ -81,13 +77,15 @@ clients: insecure: yes trusted: yes redirect_uris: - - http://your.domain.com - - http://your.domain.com/oidc-callback.html - - https://your.domain.com/ - - https://your.domain.com/oidc-callback.html + - http://ocis.domain.com/ + - https://ocis.domain.com/ + - http://ocis.domain.com/oidc-callback.html + - https://ocis.domain.com/oidc-callback.html + - http://ocis.domain.com/oidc-silent-redirect.html + - https://ocis.domain.com/oidc-silent-redirect.html origins: - - http://your.domain.com - - https://your.domain.com + - http://ocis.domain.com + - https://ocis.domain.com ``` To make it availible for ocis inside of the container, `config` hast to be mounted as volume.