[packages/eventum] add nginx config to serve under /eventum/ alias

glen glen at pld-linux.org
Sun Oct 11 16:36:31 CEST 2015


commit 23ec5faa90f6d28b9ba4bd11c72cf2879e353116
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 3 22:01:41 2015 +0300

    add nginx config to serve under /eventum/ alias

 nginx.conf | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
new file mode 100644
index 0000000..8bb48fb
--- /dev/null
+++ b/nginx.conf
@@ -0,0 +1,12 @@
+location /eventum {
+	alias /usr/share/eventum/htdocs;
+	index index.php;
+
+	location ~ \.php$ {
+		fastcgi_pass   unix:/var/run/php/php53-fpm.sock;
+		include fastcgi_params;
+		fastcgi_index  index.php;
+		fastcgi_intercept_errors on;
+		fastcgi_param SCRIPT_FILENAME $request_filename;
+	}
+}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/23ec5faa90f6d28b9ba4bd11c72cf2879e353116



More information about the pld-cvs-commit mailing list