Hi Torsten, thanks for this information - there's the fix - important lines are "location" and "rewrite" - see (1).
Works now like a charme (-: Thx Danny (1) nginx / non-root configuration (http://artee2.domain.de/rt) server { listen 80; server_name artee2.domain.de; root /tmp; location ^~ /rt/ { fastcgi_pass unix:/opt/rt3/var/fastcgi.sock; rewrite ^/rt(/.*)$ $1 break; 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; } } > -----Original Message----- > From: Torsten Brumm [mailto:tbr...@mac.com] > Sent: Wednesday, December 24, 2014 5:22 PM > To: Daniel Schwager > Cc: rt-users@lists.bestpractical.com > Subject: Re: [rt-users] rt3.8.17 / nginx and document-root > > 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.schwa...@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.schwa...@dtnet.de > > > > > > > >
smime.p7s
Description: S/MIME cryptographic signature