Removing port from base URL for media files

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:


Any idea how can I remove the :2443 from the base url for files?

You can explicitly configure the base URI for files in your config/local.config.php:

    'file_store' => [
        'local' => [
            'base_uri' => '',

It works perfectly. Thank you very much!

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.