Skip to content
Snippets Groups Projects
Commit 72c9397c authored by iaibrys's avatar iaibrys
Browse files

Add fix for enote/dtu-enote-website/issues/232

parent 69d6f2a8
Branches
No related tags found
No related merge requests found
Pipeline #308 failed
......@@ -450,6 +450,10 @@ server {
gzip_types application/x-javascript text/css image/x-icon image/png image/jpeg image/gif;
break;
}
# https://lab.compute.dtu.dk/enote/dtu-enote-website/issues/232 (Transition from 2018 to 2019)
rewrite ^/filemanager/uploads/(?<courseid>\d+)/(.*)$ https://<%= course_name %><%= enote_domain_suffix %>/filemanager/$courseid/$2 permanent;
location /filemanager {
alias /data/content/;
sendfile off;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment