system
1
our installation of invoice ninja is secured via ssl behind a reverse proxy. The certificate is good and tested, I added
SESSION_ENCRYPT=true
SESSION_SECURE=true
in .env file but it does not change anything.
where is the setting to make sure that every elements of the site is encrypted ?
hillel
2
To require SSL un-comment the rewrite rules at the end of public/.htaccess
system
3
this does not work for apache behind a nginx reverse proxy. I’ll see if we can rewrite it from nginx
hillel
4
Another option to try is to set APP_ENV to fortrabbit in the .env file.
This will enable the HTTPS check at the top of app/Http/Middleware/StartupCheck.php.
Note: this will be changed to a setting in the next release.