Nginx does not support the .htaccess files which BigTree uses to power its routed URLs. To setup routing properly in nginx you will need to edit your main nginx configuration or a specific vhost configuration. An example configuration is provided below. You should replace the following placeholders:

  • [domain] - The domain you will be accessing the vhost at (i.e.
  • [directory] - The root directory BigTree is installed at (i.e. /var/www/html)
  • [socket] - The socket path to the FastCGI process spawner (i.e.
server {
        server_name [domain];
        listen 80;
        root [directory]/site;
        index index.php index.html index.htm;
        sendfile off;

        location / {
                try_files $uri $uri/  @rewrite;
        location @rewrite {
                rewrite ^/(.*)$ /index.php?bigtree_htaccess_url=$1;
        location ~ \.php$ {
                try_files $uri =404;
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                fastcgi_pass [socket];
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME $request_filename;
                include fastcgi_params;