Skip to content
Snippets Groups Projects
Commit 56e72959 authored by Julian Rother's avatar Julian Rother
Browse files

Enable cookies for auth handler in nginx example config

parent 00d22e2c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment