Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Schoen <schoen@eff.org>2016-07-13 22:34:12 +0300
committerSeth Schoen <schoen@eff.org>2016-07-13 22:34:12 +0300
commit70a4d111ba14407fc07a2af38124fffb69bebd4c (patch)
tree4b6e673fdde31251c1a7597ce4738626f182f65a /certbot-compatibility-test
parent7f27ccd9411cf761184cdc5661bdcadc258dfb38 (diff)
Leading-space version from original pythonfcgi page
Diffstat (limited to 'certbot-compatibility-test')
-rw-r--r--certbot-compatibility-test/nginx/nginx-roundtrip-testdata/simplepythonfcgi/weird-spacing.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/certbot-compatibility-test/nginx/nginx-roundtrip-testdata/simplepythonfcgi/weird-spacing.conf b/certbot-compatibility-test/nginx/nginx-roundtrip-testdata/simplepythonfcgi/weird-spacing.conf
new file mode 100644
index 000000000..a201fe659
--- /dev/null
+++ b/certbot-compatibility-test/nginx/nginx-roundtrip-testdata/simplepythonfcgi/weird-spacing.conf
@@ -0,0 +1,17 @@
+ # static files
+ location ~ ^/(images|javascript|js|css|flash|media|static)/ {
+ root ${PROJECTBASE}/${PROJECTNAME}/static;
+ }
+
+ location = /favicon.ico {
+ root ${PROJECTBASE}/${PROJECTNAME}/static/images;
+ }
+
+ # pass all requests to FastCGI TG server listening on ${HOST}:${PORT}
+ #
+ location / {
+ fastcgi_pass ${HOST}:${PORT};
+ fastcgi_index index;
+ fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
+ include conf/fastcgi_params;
+}