|Stephen Starkey ad60fc378b Port from fossil||1 year ago|
|bin||1 year ago|
|doc||1 year ago|
|resources/public||1 year ago|
|src/cors_proxy||1 year ago|
|.gitignore||1 year ago|
|CHANGELOG.md||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|project.clj||1 year ago|
A very simple proxy for files that browsers tend to block, especially on pages that have very strict cross-origin requirements. Meant to be run behind a reverse proxy. For more information about how to set this up:
In order to run this service, you’ll need at least
JDK 9. To get this going
on a Mac:
Or Ubuntu 16.04:
You’ll also need to get Leiningen.
bin/local for an example. The regular expression is basically a pattern
that will be executed against the
Origin header of every request. If it
matches, the file will be fetched and fed back to the client.
To test that the server is working, after running
Logs will be written to
Copyright © 2018 Stephen Starkey
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.