iqual/iq_stage_file_proxy

There is no license information available for the latest version (3.0.0) of this package.

Loads resources or generates URLs that target public:// from a defined HTTP origin

Installs: 38 496

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 3

Open Issues: 3

Type:drupal-custom-module

pkg:composer/iqual/iq_stage_file_proxy

3.0.0 2023-10-27 16:51 UTC

README

Loads resources or generates URLs that target public:// from a defined HTTP origin This module will try to load from the remote instance, if the requested resource is not available locally.

Caution

Use only on non-productive instances (development, staging, demo)

How-to

Install via composer

composer require --dev iqual/iq_stage_file_proxy

Add the following into your settings.local.php (or settings.dev.php and similar).

$config['iq_stage_file_proxy.settings']['remote_instance']
    = 'https://mylivedomain.ch';

// For downloading and serving from your own instance,
// instead of redirecting to the remote one.
$config['iq_stage_file_proxy.settings']['offload'] = TRUE;