Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iqual-ch/iq_stage_file_proxy
Loads resources or generates URLs that target public:// from a defined HTTP origin
https://github.com/iqual-ch/iq_stage_file_proxy
Last synced: about 1 month ago
JSON representation
Loads resources or generates URLs that target public:// from a defined HTTP origin
- Host: GitHub
- URL: https://github.com/iqual-ch/iq_stage_file_proxy
- Owner: iqual-ch
- Created: 2021-05-05T04:50:45.000Z (over 3 years ago)
- Default Branch: 3.x
- Last Pushed: 2024-08-07T15:36:02.000Z (5 months ago)
- Last Synced: 2024-11-07T23:28:04.456Z (2 months ago)
- Language: PHP
- Size: 29.3 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iq_stage_file_proxy
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://max-urech-drpl.docker-dev.iqual.ch';
$config['iq_stage_file_proxy.settings']['offload'] = TRUE; // For downloading and serving from your own instance, instead of redirecting to the remote one.
```