Easy answer:
Switch to Apache. osTicket does not support nginx as it does not work out of the box with out multiple tweaks and changes to the configuration files.
Hard Answer:
Go through the nginx threads at github, locate the configuration changes that need to be done on your server and make them.