summaryrefslogtreecommitdiff
path: root/nginx.conf.example
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-09 20:41:53 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-09 20:41:53 -0500
commit8b6bc295a129d0f5f6e2163fb8d57347942d71d9 (patch)
tree2e30fe2cdb24188abd47a390bfb4ec711dddcf09 /nginx.conf.example
parent3290015d64bf739adb00da719dfe15ae5165c840 (diff)
implement case-insensitive URLs
Diffstat (limited to 'nginx.conf.example')
-rw-r--r--nginx.conf.example6
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;
}