I am using a proxy that receives HTTPS calls (443) and redirects them to Apache in a different port (2443). With Omeka-s, everything works well (including the normal pages e sites) apart from media files. After a close look, I noticed that Omeka adds the port to the URL to retrieve the files, for example:
https://example:2443/files/asset/3f961f901e55e220661a754f931466d55fb4132f.jpg
Any idea how can I remove the :2443 from the base url for files?