<VirtualHost 127.0.0.1:80>
ServerName rt.local
# Tell FastCGI to trigger on the handler
FastCgiServer /usr/share/request-tracker3.8/libexec/mason_handler.fcgi
# Bypass FastCGI for images
Alias /rt/NoAuth/images /usr/share/request-tracker3.8/html/NoAuth/images
# Use the handler for everything else
ScriptAlias /rt /usr/share/request-tracker3.8/libexec/mason_handler.fcgi
<Location /rt/>
DirectoryIndex index.html
</Location>
# Limit mail gateway access to localhost by default
<Location /rt/REST/1.0/NoAuth>
Order Allow,Deny
Allow from all
</Location>
</VirtualHost>
server {
listen ip:80;
server_name rt.site.ru;
location / {
proxy_pass http://rt.local/rt/;
}
}