website/docs: Fix nginx proxy_pass directive documentation (#10181)
This commit is contained in:
@ -48,7 +48,7 @@ location / {
|
|||||||
|
|
||||||
# all requests to /outpost.goauthentik.io must be accessible without authentication
|
# all requests to /outpost.goauthentik.io must be accessible without authentication
|
||||||
location /outpost.goauthentik.io {
|
location /outpost.goauthentik.io {
|
||||||
proxy_pass http://outpost.company:9000/outpost.goauthentik.io;
|
proxy_pass http://outpost.company:9000;
|
||||||
# ensure the host of this vserver matches your external URL you've configured
|
# ensure the host of this vserver matches your external URL you've configured
|
||||||
# in authentik
|
# in authentik
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|||||||
@ -52,7 +52,7 @@ server {
|
|||||||
|
|
||||||
# all requests to /outpost.goauthentik.io must be accessible without authentication
|
# all requests to /outpost.goauthentik.io must be accessible without authentication
|
||||||
location /outpost.goauthentik.io {
|
location /outpost.goauthentik.io {
|
||||||
proxy_pass http://outpost.company:9000/outpost.goauthentik.io;
|
proxy_pass http://outpost.company:9000;
|
||||||
# ensure the host of this vserver matches your external URL you've configured
|
# ensure the host of this vserver matches your external URL you've configured
|
||||||
# in authentik
|
# in authentik
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|||||||
Reference in New Issue
Block a user