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.
To force HTTPS, add the following line to the .env file:
To force HTTP:
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