summaryrefslogtreecommitdiffstats
path: root/virtualenv
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2013-10-30 10:35:53 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2013-10-30 10:35:53 (GMT)
commitdd95ac53cc44fa56e504376fe43f17876cc9a338 (patch)
tree8d6302c2ee06a96f6b9a4cc717345e46a425ec30 /virtualenv
parent9127fd0d5628deb7e08fa6ddce195e3bf2e0be7d (diff)
downloadunivnautes-old-dd95ac53cc44fa56e504376fe43f17876cc9a338.zip
univnautes-old-dd95ac53cc44fa56e504376fe43f17876cc9a338.tar.gz
univnautes-old-dd95ac53cc44fa56e504376fe43f17876cc9a338.tar.bz2
lighttpd-pfidp.conf listen only on 4443
Diffstat (limited to 'virtualenv')
-rw-r--r--virtualenv/etc/lighttpd-pfidp.conf40
1 files changed, 20 insertions, 20 deletions
diff --git a/virtualenv/etc/lighttpd-pfidp.conf b/virtualenv/etc/lighttpd-pfidp.conf
index 80a987e..fc0c5d9 100644
--- a/virtualenv/etc/lighttpd-pfidp.conf
+++ b/virtualenv/etc/lighttpd-pfidp.conf
@@ -13,24 +13,24 @@ server.modules = (
"mod_rewrite",
)
-server.document-root = "/usr/local/univnautes/www/"
-
-$SERVER["socket"] == ":4443" {
- ssl.engine = "enable"
- ssl.pemfile = "/var/etc/cert-portal.pem"
- ssl.ca-file = "/var/etc/ca-portal.pem"
-
- # /!\ the configuration below implies FORCE_SCRIPT_NAME="" in pffedportal/settings.py
- # cf http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#forcing-the-url-prefix-to-a-particular-value
-
- url.rewrite-once = (
- "^(/.*)$" => "/pfidp.fcgi$1",
- )
- fastcgi.server = (
- "/pfidp.fcgi" => ((
- "socket" => "/tmp/pfidp.sock",
- "check-local" => "disable",
- ))
- )
-}
+server.document-root = "/usr/local/univnautes/www/"
+
+server.port = 4443
+ssl.engine = "enable"
+ssl.pemfile = "/var/etc/cert-portal.pem"
+ssl.ca-file = "/var/etc/ca-portal.pem"
+
+# /!\ the configuration below implies FORCE_SCRIPT_NAME="" in pffedportal/settings.py
+# cf http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#forcing-the-url-prefix-to-a-particular-value
+
+url.rewrite-once = (
+ "^(/.*)$" => "/pfidp.fcgi$1",
+)
+
+fastcgi.server = (
+ "/pfidp.fcgi" => ((
+ "socket" => "/tmp/pfidp.sock",
+ "check-local" => "disable",
+ ))
+)