Can you expand on what static files ?
Are you perhaps talking about the 404, 302,500 static pages from nginx or static pages from Discourse?
I looked into it for a bit and found that the redirect for the 404 pages work. The only page i cannot seem to set it the 500 error page.
Can you be a little bit more specific so that i know exactly what i am looking into.