- location / {
- proxy_pass http://guacamole:8080/guacamole/;
- proxy_redirect off;
- proxy_buffering off;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $http_connection;
- proxy_cookie_path /guacamole/ /;
- access_log off;
- auth_request /auth/check;
- }
- location /auth {
- proxy_pass http://totp-auth:8000; # This is the TOTP Server
- proxy_set_header X-Original-URI $request_uri;
- }
|