Name and icon code blocks by real filename across the site
This commit is contained in:
@@ -75,7 +75,7 @@ To generate the keys, we created the folders ahead of deployment using Dockge. D
|
||||
Open Dockge and search for "authentik" in the inactive stacks.
|
||||
Name the stack `authentik` and paste the following configuration, replacing `{AUTHENTIK_TAG:-2026.2}`{lang=properties} with [the latest version of Authentik](https://goauthentik.io/docs/releases).
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
|
||||
@@ -221,7 +221,7 @@ sudo nano /docker/swag/config/nginx/authentik-server.conf
|
||||
|
||||
Verify that the following variables are set correctly:
|
||||
|
||||
```nginx
|
||||
```nginx [authentik-server.conf]
|
||||
set $upstream_authentik authentik-server;
|
||||
proxy_pass http://$upstream_authentik:9000;
|
||||
```
|
||||
@@ -236,7 +236,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/auth.subdomain.conf
|
||||
|
||||
Paste the following configuration:
|
||||
|
||||
```nginx
|
||||
```nginx [auth.subdomain.conf]
|
||||
## Version 2023/05/31
|
||||
# Ensure your authentik container is named authentik-server
|
||||
# Ensure your DNS has a CNAME for authentik
|
||||
@@ -275,7 +275,7 @@ Save with :kbd{value="Ctrl+O"}, then :kbd{value="Enter"}, and exit with :kbd{val
|
||||
|
||||
Go to Dockge, and edit the SWAG compose file to add the Authentik network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -441,7 +441,7 @@ sudo nano /docker/authentik-outpost/compose.yaml
|
||||
```
|
||||
Paste the following configuration, updating the version in `{AUTHENTIK_TAG:proxy:2024.2.3}`{lang=properties} to match your Authentik server version.
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
version: "3.5"
|
||||
services:
|
||||
authentik_proxy:
|
||||
@@ -469,7 +469,7 @@ Go to the SWAG stack on the remote machine (or edit directly using Dockge) and a
|
||||
sudo nano /docker/swag/compose.yaml
|
||||
```
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: #...
|
||||
@@ -511,7 +511,7 @@ sudo nano /docker/authentik-outpost/.env
|
||||
|
||||
Paste the following configuration:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
HOST=
|
||||
TOKEN=
|
||||
```
|
||||
@@ -546,7 +546,7 @@ sudo nano /docker/swag/config/nginx/authentik-server.conf
|
||||
|
||||
In the file, change `authentik-server` to `authentik-outpost` as shown:
|
||||
|
||||
```nginx
|
||||
```nginx [authentik-server.conf]
|
||||
set $upstream_authentik authentik-outpost;
|
||||
proxy_pass http://$upstream_authentik:9000;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user