Snipe IT pages not loading correctly after installing a reverse proxy with SSL

If your Snipe IT website is not loading correctly after enabling SSL (https) on your reverse proxy, take a look at the settings file of Snipe, usually found in /var/www/snipe-it/.env.
Edit the file by ”sudo nano /var/www/snipe-it/.env”. Add the IP-address of your reverse proxy server on this row:
APP_TRUSTED_PROXIES=192.168.0.10
Restart by ”sudo systemctl restart apache2” and then it should work again.