Skip to content

Instantly share code, notes, and snippets.

What would you like to do? before
# Handle requests for files that could be screenshots.
# Try files before passing to ASP.NET
location ~ "^/\d{4}/\d{2}/.+\.(png|jpg|jpeg|gif|mp4)$" {
alias /var/www/;
try_files$uri$uri @aspnet;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.