Ask, reply and learn. Join the community of Akaunting.
Hi,
After installing Akaunting, I have noticed that the connection isn't secure(doesn't show as https) and I have installed an SSL in my server.
There is nay way where we can change from HTTP to https ?
Hello Ricardo, for a standard setup you should check if in the ".env" file in your install directory there is the correct value for "APP_URL": it should be something like "https://...".
I had the same issue as in the setup assistant I accidentially used http instead of https and for that the .env-file was generated accordingly.
Kind regards, Sascha
Hi Alexander,
Thank you for the reply, in the .env file the APP_URL have https.
There is any other way we can check or force to use https all the time?
Hello Ricardo,
In my case the redirection worked after a few hours (perhaps try to clean the cache or restart the http server or something).
You can additionally set the https enforcement in the .htaccess file in document root:
see https://akaunting.com/forum/discussion/installation-update/force-https
For me (running Akauting as a subdomain) the following entry worked:
...
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
...
Kind regards, Alex
Thank you Alexandra,
Going to try, using the .htaccess i believe will solve this.
Showing 1 to 5 of 5 discussions