From 56e7295976a4042043e22af2f4a7c45017486485 Mon Sep 17 00:00:00 2001 From: Julian Rother <julianr@fsmpi.rwth-aachen.de> Date: Sat, 18 Feb 2017 01:03:02 +0100 Subject: [PATCH] Enable cookies for auth handler in nginx example config --- nginx.conf.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf.example b/nginx.conf.example index 144cb7c..ed1ec31 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; -- GitLab