mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 08:02:26 +01:00
26 lines
464 B
Plaintext
26 lines
464 B
Plaintext
#
|
|
# 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;
|
|
}
|