[rt-users] rt3.8.17 / nginx and document-root
Torsten Brumm
tbrumm at mac.com
Wed Dec 24 11:22:22 EST 2014
Search github for rt-extension-nginx as good starting point.
Von meinem iPhone gesendet
> Am 24.12.2014 um 14:21 schrieb Daniel Schwager <Daniel.Schwager at dtnet.de>:
>
> Hi,
>
> because nginx ist about 20-30% faster than apache2, we tries to move to nginx. Our URL is http://<server-url>/rt
> so WebPath insode RT_SiteConfig.pm is set to "/rt".
>
> Our current nginx config (1) works fine (but only in the document root http://<server-url>, but not with http://<server-url>/rt)
>
> I'm not familiar with nginx and spent now about 4 hours trying to configure rt3+nginx to use http://<server-url>/rt as the base-url - but I was not able to manage it.
>
> Maybe somebody show me how to configure RT/ngnix for a non-root URL ?
>
> regards
> Danny
>
> (1) /etc/nginx/conf.d/rt3.conf
>
> server {
> listen 80;
> server_name artee2.domain.de;
>
> root /opt/rt3/share/html;
> index index.html index.htm;
>
> location / {
> fastcgi_pass unix:/opt/rt3/var/fastcgi.sock;
>
> include /etc/nginx/fastcgi_params;
> fastcgi_param QUERY_STRING $query_string;
> fastcgi_param REQUEST_METHOD $request_method;
> fastcgi_param CONTENT_TYPE $content_type;
> fastcgi_param CONTENT_LENGTH $content_length;
>
> fastcgi_param SCRIPT_NAME "";
> fastcgi_param PATH_INFO $uri;
> }
> }
>
>
> Viele Gruesse
> Daniel Schwager
>
> -------------------------------------------------------------------
> DT Netsolution GmbH - Taläckerstr. 30 - D-70437 Stuttgart
> Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870
> Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwager at dtnet.de
>
>
>
>
More information about the rt-users
mailing list