summaryrefslogtreecommitdiff
path: root/nginx.conf.example
diff options
context:
space:
mode:
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;
}