Comment on Serving static files with Django and AWS - going fast on a budgetparentComments−jsn18yyou probably don't need perl for that. afaics from the snippet, it fits into nginx mod_rewrite. maybe something like this:if ($http_cookie ~* "auth=1" ) { proxy_pass http://backend ; break ; }if (!-f $request_filename) { proxy_pass http://backend ; break ; }
Comments
you probably don't need perl for that. afaics from the snippet, it fits into nginx mod_rewrite. maybe something like this:
if ($http_cookie ~* "auth=1" ) { proxy_pass http://backend ; break ; }
if (!-f $request_filename) { proxy_pass http://backend ; break ; }