Closed encukou closed 1 year ago
The ^~ modifier makes this rule take priority priority over regex (specifically the pdf|zip|epub|bz2 regex above), see https://nginx.org/en/docs/http/ngx_http_core_module.html#location
^~
pdf|zip|epub|bz2
See: https://github.com/python/cpython/issues/95290
I haven't tested this -- I don't have the setup for that.
based on tossing it around in https://nginx.viraptor.info looks good.
The
^~
modifier makes this rule take priority priority over regex (specifically thepdf|zip|epub|bz2
regex above), see https://nginx.org/en/docs/http/ngx_http_core_module.html#locationSee: https://github.com/python/cpython/issues/95290