diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 20:41:53 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 20:41:53 -0500 |
commit | 8b6bc295a129d0f5f6e2163fb8d57347942d71d9 (patch) | |
tree | 2e30fe2cdb24188abd47a390bfb4ec711dddcf09 /nginx.conf.example | |
parent | 3290015d64bf739adb00da719dfe15ae5165c840 (diff) |
implement case-insensitive URLs
Diffstat (limited to 'nginx.conf.example')
-rw-r--r-- | nginx.conf.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nginx.conf.example b/nginx.conf.example index 734c7cd..403c66e 100644 --- a/nginx.conf.example +++ b/nginx.conf.example @@ -9,6 +9,12 @@ server { rewrite ^(.*[^/])$ $1/ permanent; } + location ~ [A-Z] { + uwsgi_pass unix:/run/uwsgi/www.sock; + uwsgi_modifier1 9; # Standard CGI request + include uwsgi_params; + } + location / { try_files /out$uri/index.html /out$uri /src$uri =404; } |