Part 3 - Configuring Nginx

Copy the configuration file to nginx's directory, while choosing the appropriate SSL or non-SSL configuration file.

Before copying the configuration files, please replace taskfort.com and api.taskfort.com with the appropriate values.

Also be sure root is pointing to [taskfort_install_path]/taskfort_ci/
and
fastcgi_param SCRIPT_FILENAME [taskfort_install_path]/taskfort_ci$fastcgi_script_name;

If you have any questions, shoot us an email!

Non-SSL

WRITE OUT THE FULL PATHS when creating symbolic links.

cp [TASKFORT_ROOT]/conf/taskfort_no_ssl.conf /etc/nginx/sites-available/taskfort_no_ssl.conf

ln -s /etc/nginx/sites-available/taskfort_no_ssl.conf /etc/nginx/sites-enabled/taskfort_no_ssl

SSL Enabled

Please replace the existing keys within /etc/nginx/sites-enabled/taskfort_ssl with their appropriate values:

cp [TASKFORT_ROOT]/conf/taskfort_ssl.conf /etc/nginx/sites-available/taskfort_ssl.conf

ln -s /etc/nginx/sites-available/taskfort_ssl.conf /etc/nginx/sites-enabled/taskfort_ssl

Where [TASKFORT_ROOT] is where Taskfort was unzipped.

Restart Nginx!

sudo /etc/init.d/nginx restart