11 years ago

9 years ago

General Troubleshooting

3829

Is nginx supported?

nginx is another web server (similar to Apache but meant to be faster).

It is not currently supported, but the following rule should replace the Apache .htaccess file allowing Tickets/Mr Password to function correctly.

If you have any issues please open a support ticket, but please be aware that our applications have not been tested with nginx.

# nginx configuration
location / {
  expires 0;
  add_header Cache-Control no-cache;
  try_files $uri $uri/ @dynamicpage;
}

location @dynamicpage {
  rewrite ^/(.*)/?$ /index.php?url=$1 last;
}

If the above rule doesn't work you can try the following:

# nginx configuration

location / {
  if (!-e $request_filename){
    rewrite ^(.*)$ /index.php?url=$1 break;
  }
}