Skip to content
Snippets Groups Projects
Unverified Commit e5aa80ba authored by Roman Karwacik's avatar Roman Karwacik
Browse files

nginx

parent 3a6eba58
Branches s3compatible
No related tags found
1 merge request!47Draft: Support for S3
......@@ -41,9 +41,16 @@ http {
#add_header Set-Cookie $trackingcookie;
# For use without sshfs
# NO TRAILING SLASH so that /files/ will not be skipped of the request!
proxy_pass https://videoag.fsmpi.rwth-aachen.de;
proxy_set_header Host "videoag.fsmpi.rwth-aachen.de";
proxy_set_header Set-Cookie $trackingcookie;
#proxy_pass https://videoag.fsmpi.rwth-aachen.de;
#proxy_set_header Host "videoag.fsmpi.rwth-aachen.de";
#proxy_set_header Set-Cookie $trackingcookie;
# For use with S3
add_header Set-Cookie $trackingcookie;
include uwsgi_params;
uwsgi_param REQUEST_URI $uri;
uwsgi_param HTTP_X_ORIGINAL_URI $request_uri;
uwsgi_param HTTP_X_REAL_IP $remote_addr;
uwsgi_pass unix:uwsgi.sock;
}
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