I want to explain how I fixed this issue
Step-by-Step Process to Disable Force HTTPS in osTicket
Step 1: Open the MySQL Client
Step 2: Access the osTicket Database
Once you’re in the MySQL client, select the osticket database:
USE osticket;
Step 3: Update the force_https Setting
To disable the forced HTTPS setting, run the following SQL command. This updates the force_https setting in the ost_config table:
UPDATE ost_config SET value = '0' WHERE key
= 'force_https';
This command sets force_https to 0, disabling HTTPS redirection.
Step 4: Exit the MySQL Client
After successfully updating the setting, type exit to leave the MySQL client:
Open a browser and navigate to:
http://your_server_ip:8080
Replace your_server_ip with the actual IP address of your server.
This should allow you to access the osTicket interface without HTTPS redirection.