Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ss.dan.cx before dan.cx
# Handle requests for files that could be screenshots.
# Try ss.dan.cx files before passing to ASP.NET
location ~ "^/\d{4}/\d{2}/.+\.(png|jpg|jpeg|gif|mp4)$" {
alias /var/www/;
try_files dan.cx/public/$uri ss.dan.cx/$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.