Skip to content

Commit 70a4d11

Browse files
author
Seth Schoen
committed
Leading-space version from original pythonfcgi page
1 parent 7f27ccd commit 70a4d11

File tree

1 file changed

+17
-0
lines changed
  • certbot-compatibility-test/nginx/nginx-roundtrip-testdata/simplepythonfcgi

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# static files
2+
location ~ ^/(images|javascript|js|css|flash|media|static)/ {
3+
root ${PROJECTBASE}/${PROJECTNAME}/static;
4+
}
5+
6+
location = /favicon.ico {
7+
root ${PROJECTBASE}/${PROJECTNAME}/static/images;
8+
}
9+
10+
# pass all requests to FastCGI TG server listening on ${HOST}:${PORT}
11+
#
12+
location / {
13+
fastcgi_pass ${HOST}:${PORT};
14+
fastcgi_index index;
15+
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
16+
include conf/fastcgi_params;
17+
}

0 commit comments

Comments
 (0)