summaryrefslogtreecommitdiff
path: root/net-mail/sympa/files/sympa-nginx.conf
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2014-09-29 09:02:24 +0200
committerMarcin Deranek <marcin.deranek@slonko.net>2014-09-29 09:02:24 +0200
commit103cf8b2ebc990a52011b7b0adeab45dc63ee99d (patch)
tree8cf2d2fef53dd6a17ed142614ccc255f3db29246 /net-mail/sympa/files/sympa-nginx.conf
downloadportage-103cf8b2ebc990a52011b7b0adeab45dc63ee99d.tar.gz
portage-103cf8b2ebc990a52011b7b0adeab45dc63ee99d.tar.bz2
portage-103cf8b2ebc990a52011b7b0adeab45dc63ee99d.zip
Initial commit
Diffstat (limited to 'net-mail/sympa/files/sympa-nginx.conf')
-rw-r--r--net-mail/sympa/files/sympa-nginx.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-mail/sympa/files/sympa-nginx.conf b/net-mail/sympa/files/sympa-nginx.conf
new file mode 100644
index 0000000..9b8e1ab
--- /dev/null
+++ b/net-mail/sympa/files/sympa-nginx.conf
@@ -0,0 +1,9 @@
+location /sympa {
+ fastcgi_split_path_info ^(/sympa)(.*);
+ fastcgi_param PATH_INFO $fastcgi_path_info;
+ fastcgi_pass unix:/var/run/sympa.sock;
+ include fastcgi_params;
+}
+location /static-sympa {
+ alias /var/spool/sympa/static_content;
+}