How to force HTTPS or HTTP

Use this when using a reverse proxy and you do not have a full SSL configured, or when you simply want to force HTTPS or HTTP

HTTPS/SSL is fully supported by the application and will be used automatically based on the protocol used on a user request; this means that URLs and assets will use HTTPS when a request is being made using HTTPS.

The application may use the HTTP protocol on a request made with HTTPS; a common reason for this is having a reverse proxy without end-to-end SSL. For example, using Cloudflare without Full or Strict SSL.

If you are using a reverse proxy, the recommended solution would be to add SSL to your help desk server, so connections between your help desk server and the proxy server are also encrypted.

To force HTTPS, add the following line to the .env file:

APP_FORCE_SCHEME=https

To force HTTP:

APP_FORCE_SCHEME=http
Your vote was sent, thanks!
Was this article helpful?

Want to talk to a human?

Feel free to contact us if you cannot find what you are looking for in our help center. We will be answering you shortly!

Feel free to contact us if you cannot find what you are looking for in our help center. We will be answering you shortly!

Contact us
Woman messaging on mobile phone