website/docs: improve traefik standalone docs (#4493)

* Create _traefik_standalone_single_application.md 

Example for Authentik Single Application Proxy with Service example because this was unclear for many users and if you dont create a middleware for every application you get the error "no app for hostname". 

Signed-off-by: support-tt <61587422+support-tt@users.noreply.github.com>

* Update _traefik_standalone_single_application.md

Signed-off-by: support-tt <61587422+support-tt@users.noreply.github.com>

* rename to old file

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: support-tt <61587422+support-tt@users.noreply.github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
support-tt 2023-03-10 20:45:41 +01:00 committed by GitHub
parent e13615c1ae
commit 7618c2e45f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -23,9 +23,18 @@ http:
middlewares: middlewares:
- name: authentik - name: authentik
priority: 10 priority: 10
services: # Unchanged services: app
default-router-auth: default-router-auth:
match: "Host(`app.company`) && PathPrefix(`/outpost.goauthentik.io/`)" match: "Host(`app.company`) && PathPrefix(`/outpost.goauthentik.io/`)"
priority: 15 priority: 15
services: http://outpost.company:9000/outpost.goauthentik.io services: authentik
services:
app:
loadBalancer:
servers:
- url: http://ipp.internal
authentik:
loadBalancer:
servers:
- url: http://outpost.company:9000/outpost.goauthentik.io
``` ```