]> git.pld-linux.org Git - packages/eventum.git/commitdiff
add nginx config to serve under /eventum/ alias
authorElan Ruusamäe <glen@delfi.ee>
Sun, 3 May 2015 19:01:41 +0000 (22:01 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 14 Sep 2015 10:19:03 +0000 (13:19 +0300)
nginx.conf [new file with mode: 0644]

diff --git a/nginx.conf b/nginx.conf
new file mode 100644 (file)
index 0000000..8bb48fb
--- /dev/null
@@ -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;
+       }
+}
This page took 0.116899 seconds and 4 git commands to generate.