Challenge 1
Apply the rewrite and re-run location matching.
rewrite ^/api/(.*)$ /v1/$1 ;
Press Ctrl⌘Enter to check your answer
Fill in rewrite flags, auth_request, mirroring, and signed links.
Challenge 1
rewrite ^/api/(.*)$ /v1/$1 ;
Press Ctrl⌘Enter to check your answer
Challenge 2
location /private/ {
/_auth;
proxy_pass http://backend;
}
Press Ctrl⌘Enter to check your answer
Challenge 3
location /api/ {
/_shadow;
proxy_pass http://backend;
}
Press Ctrl⌘Enter to check your answer
Challenge 4
location /dl/ {
secure_link ;
secure_link_md5 "$secure_link_expires$uri$remote_addr secret";
}
Press Ctrl⌘Enter to check your answer
Challenge 5
if ($blocked) {
403;
}
Press Ctrl⌘Enter to check your answer