aboutsummaryrefslogtreecommitdiffstats
path: root/testing/otrs/otrs.nginx.conf
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-02-16 03:19:13 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-02-16 07:24:05 +0000
commitbec0e79ed2237c7240744b9102994da583018267 (patch)
tree2e16c372228a482c6f87f9510c3a7da70ee5c15d /testing/otrs/otrs.nginx.conf
parentc868fc7f8cd280a65dd6c3440a5596a37cca834c (diff)
downloadaports-bec0e79ed2237c7240744b9102994da583018267.tar.bz2
aports-bec0e79ed2237c7240744b9102994da583018267.tar.xz
testing/otrs: new aport
Flexible Open Source Service Management Software http://www.otrs.org/
Diffstat (limited to 'testing/otrs/otrs.nginx.conf')
-rw-r--r--testing/otrs/otrs.nginx.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/otrs/otrs.nginx.conf b/testing/otrs/otrs.nginx.conf
new file mode 100644
index 0000000000..88d1100932
--- /dev/null
+++ b/testing/otrs/otrs.nginx.conf
@@ -0,0 +1,25 @@
+#
+# include this file somewhere to 'server' section
+#
+# server {
+# ...
+# include otrs.conf;
+# ...
+# }
+#
+
+root /var/lib/otrs/var/httpd/htdocs;
+index index.html;
+
+location /otrs-web {
+ gzip on;
+ alias /var/lib/otrs/var/httpd/htdocs;
+}
+
+location ~ ^/otrs/(.*\.pl)(/.*)?$ {
+ gzip off;
+ include fastcgi_params;
+ fastcgi_pass unix:/var/lib/otrs/var/run/socket-1;
+ fastcgi_index index.pl;
+ fastcgi_param SCRIPT_FILENAME /var/lib/otrs/bin/fcgi-bin/$1;
+}