File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 12
12
server {
13
13
listen 7901;
14
14
15
+ set $auth_token REPLACE_ME_WITH_YOUR_AUTH_TOKEN;
16
+
15
17
location / {
16
18
try_files /nonexistent-used-for-try-testing @$http_upgrade;
17
19
}
@@ -24,7 +26,7 @@ server {
24
26
proxy_set_header Upgrade $http_upgrade;
25
27
proxy_set_header Connection "Upgrade";
26
28
# Figment specific authentication requirement
27
- proxy_set_header Authorization REPLACE_ME_WITH_YOUR_AUTH_TOKEN ;
29
+ proxy_set_header Authorization "$auth_token" ;
28
30
proxy_redirect https://$proxy_host http://$server_name:$server_port;
29
31
proxy_redirect https:// http://;
30
32
}
@@ -35,7 +37,7 @@ server {
35
37
proxy_set_header Host $proxy_host;
36
38
proxy_set_header Connection "";
37
39
# Figment specific authentication requirement
38
- proxy_set_header Authorization REPLACE_ME_WITH_YOUR_AUTH_TOKEN ;
40
+ proxy_set_header Authorization "$auth_token" ;
39
41
proxy_redirect https://$proxy_host http://$server_name:$server_port;
40
42
proxy_redirect https:// http://;
41
43
}
You can’t perform that action at this time.
0 commit comments