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 1212server {
1313 listen 7901;
1414
15+ set $auth_token REPLACE_ME_WITH_YOUR_AUTH_TOKEN;
16+
1517 location / {
1618 try_files /nonexistent-used-for-try-testing @$http_upgrade;
1719 }
@@ -24,7 +26,7 @@ server {
2426 proxy_set_header Upgrade $http_upgrade;
2527 proxy_set_header Connection "Upgrade";
2628 # Figment specific authentication requirement
27- proxy_set_header Authorization REPLACE_ME_WITH_YOUR_AUTH_TOKEN ;
29+ proxy_set_header Authorization "$auth_token" ;
2830 proxy_redirect https://$proxy_host http://$server_name:$server_port;
2931 proxy_redirect https:// http://;
3032 }
@@ -35,7 +37,7 @@ server {
3537 proxy_set_header Host $proxy_host;
3638 proxy_set_header Connection "";
3739 # Figment specific authentication requirement
38- proxy_set_header Authorization REPLACE_ME_WITH_YOUR_AUTH_TOKEN ;
40+ proxy_set_header Authorization "$auth_token" ;
3941 proxy_redirect https://$proxy_host http://$server_name:$server_port;
4042 proxy_redirect https:// http://;
4143 }
You can’t perform that action at this time.
0 commit comments