@@ -29,7 +29,7 @@ services:
2929 - " DB_HOST=mariadb"
3030 - " DB_USER=bookstack"
3131 - " DB_DATABASE=bookstack"
32- - " APP_URL=https://bookstack.domain.de "
32+ - " APP_URL=https://bookstack.example.com "
3333 volumes :
3434 - " /srv/bookstack/config:/config"
3535 ports :
@@ -53,16 +53,16 @@ DB_PASS=S3cr3T
5353 ```
5454
5555 ```nginx
56- # /etc/nginx/sites-available/bookstack.domain.de
56+ # /etc/nginx/sites-available/bookstack.example.com
5757 # https://ssl-config.mozilla.org/#server=nginx&version=1.27.3&config=modern&openssl=3.4.0&ocsp=false&guideline=5.7
5858 server {
59- server_name bookstack.domain.de ;
59+ server_name bookstack.example.com ;
6060 listen 0.0.0.0:443 ssl;
6161 listen [::]:443 ssl;
6262 http2 on;
6363
64- ssl_certificate /root/.acme.sh/bookstack.domain.de_ecc /fullchain.cer;
65- ssl_certificate_key /root/.acme.sh/bookstack.domain.de_ecc /bookstack.domain.de .key;
64+ ssl_certificate /root/.acme.sh/bookstack.example.com_ecc /fullchain.cer;
65+ ssl_certificate_key /root/.acme.sh/bookstack.example.com_ecc /bookstack.example.com .key;
6666 ssl_session_timeout 1d;
6767 ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
6868 ssl_session_tickets off;
@@ -97,7 +97,7 @@ DB_PASS=S3cr3T
9797 labels:
9898 - "traefik.enable=true"
9999 - "traefik.http.services.srv_bookstack.loadbalancer.server.port=80"
100- - "traefik.http.routers.r_bookstack.rule=Host(` bookstack.domain.de ` )"
100+ - "traefik.http.routers.r_bookstack.rule=Host(` bookstack.example.com ` )"
101101 - "traefik.http.routers.r_bookstack.entrypoints=websecure"
102102 ```
103103
@@ -109,22 +109,22 @@ Hier ist eine Anleitung wie man SAML2 Authentifizierung mit einem *Keycloak* Ser
109109
110110Zuerst müssen wir Keycloak konfigurieren.
111111
112- Erstellt man einen neuen Client mit ` https://bookstack.domain.de /saml2/metadata ` als Client ID und ` saml ` als Client
112+ Erstellt man einen neuen Client mit ` https://bookstack.example.com /saml2/metadata ` als Client ID und ` saml ` als Client
113113Protokoll, so kann man die Einstellungen des neuen Clients wie folgt bearbeiten.
114114
115115| Setting | Value |
116116| ---------------------------| ---------------------------------|
117117| Client Signature Required | OFF |
118- | Root URL | ` https://bookstack.domain.de / ` |
119- | Valid Redirect URIs | ` https://bookstack.domain.de /* ` |
120- | Base URL | ` https://bookstack.domain.de / ` |
118+ | Root URL | ` https://bookstack.example.com / ` |
119+ | Valid Redirect URIs | ` https://bookstack.example.com /* ` |
120+ | Base URL | ` https://bookstack.example.com / ` |
121121
122122Fine Grain SAML Endpoint Konfiguration:
123123
124124| Setting | Value |
125125| ---------------------------------------------| -----------------------------------------|
126- | Assertion Consumer Service POST Binding URL | ` https://bookstack.domain.de /saml2/acs ` |
127- | Logout Service Redirect Binding URL | ` https://bookstack.domain.de /saml2/sls ` |
126+ | Assertion Consumer Service POST Binding URL | ` https://bookstack.example.com /saml2/acs ` |
127+ | Logout Service Redirect Binding URL | ` https://bookstack.example.com /saml2/sls ` |
128128
129129Wenn man das gespeichert hat, so können wir u den "Mappers"-Tab gehen und einen neuen Mapper wie folgt erstellen:
130130
@@ -181,20 +181,20 @@ SAML2_EXTERNAL_ID_ATTRIBUTE=user.username
181181SAML2_DISPLAY_NAME_ATTRIBUTES=user.username
182182
183183# Identity Provider entityID URL
184- SAML2_IDP_ENTITYID=https://keycloak.domain.de /auth/realms/YOURREALM
184+ SAML2_IDP_ENTITYID=https://keycloak.example.com /auth/realms/YOURREALM
185185
186186# Auto-load metatadata from the IDP
187187# Setting this to true negates the need to specify the next three options
188188SAML2_AUTOLOAD_METADATA=false
189189
190190# Identity Provider single-sign-on service URL
191191# Not required if using the autoload option above.
192- SAML2_IDP_SSO=https://keycloak.domain.de /auth/realms/YOURREALM/protocol/saml
192+ SAML2_IDP_SSO=https://keycloak.example.com /auth/realms/YOURREALM/protocol/saml
193193
194194# Identity Provider single-logout-service URL
195195# Not required if using the autoload option above.
196196# Not required if your identity provider does not support SLS.
197- SAML2_IDP_SLO=https://keycloak.domain.de /auth/realms/YOURREALM/protocol/saml
197+ SAML2_IDP_SLO=https://keycloak.example.com /auth/realms/YOURREALM/protocol/saml
198198
199199# Identity Provider x509 public certificate data.
200200# Not required if using the autoload option above.
0 commit comments