We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6643e5f commit ed0dca7Copy full SHA for ed0dca7
authentik.conf
@@ -0,0 +1,27 @@
1
+
2
+events {}
3
+error_log /dev/stdout info;
4
5
+# Upgrade WebSocket if requested, otherwise use keepalive
6
7
+http {
8
+ access_log /dev/stdout;
9
+ map $http_upgrade $connection_upgrade_keepalive {
10
+ default upgrade;
11
+ '' '';
12
+ }
13
14
+ server {
15
+ listen 80;
16
17
+ location / {
18
+ proxy_pass "$PROXY_HOST"; # Replace with your local IP address
19
+ proxy_set_header Upgrade $http_upgrade;
20
+ proxy_set_header Connection $connection_upgrade_keepalive;
21
+ proxy_set_header Host $host;
22
+ proxy_set_header X-Real-IP $remote_addr;
23
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
24
+ proxy_set_header X-Forwarded-Proto $scheme;
25
26
27
+}
0 commit comments