diff --git a/nginx.conf.example b/nginx.conf.example index 144cb7c29b30d7abd0e0afb06a2adc534339aba9..ed1ec3161fae281375c61417dd571d22885ccb67 100644 --- a/nginx.conf.example +++ b/nginx.conf.example @@ -35,11 +35,14 @@ http { } location /files/ { auth_request /auth; + auth_request_set $trackingcookie $upstream_http_set_cookie; # For use with sshfs (recommended) #alias /mnt/videoag/srv/videoag/released/; + #add_header Set-Cookie $trackingcookie; # For use without sshfs proxy_pass https://videoag.fsmpi.rwth-aachen.de/; proxy_set_header Host "videoag.fsmpi.rwth-aachen.de"; + proxy_set_header Set-Cookie $trackingcookie; } location / { include /etc/nginx/uwsgi_params;