https://github.com/fadilxcoder/reverse-proxy
PHP reverse proxy - [https://github.com/fadilxcoder/hfx-api.git] [https://github.com/fadilxcoder/cryoto-js.git]
https://github.com/fadilxcoder/reverse-proxy
php reverse-proxy security
Last synced: about 1 year ago
JSON representation
PHP reverse proxy - [https://github.com/fadilxcoder/hfx-api.git] [https://github.com/fadilxcoder/cryoto-js.git]
- Host: GitHub
- URL: https://github.com/fadilxcoder/reverse-proxy
- Owner: fadilxcoder
- Created: 2021-10-08T16:37:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-04T19:53:36.000Z (over 3 years ago)
- Last Synced: 2025-01-04T19:23:41.039Z (over 1 year ago)
- Topics: php, reverse-proxy, security
- Language: PHP
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NOTES
- https://packagist.org/packages/jenssegers/proxy (Proxy library that forwards requests to the desired url and returns the response)
- `composer require jenssegers/proxy`
- Run by executing : `php -S 127.0.0.1:4044` - Any port value
- *CONFIGS* values in index.php
- Configuration added in `.env`
- **Cross-Origin Request Headers(CORS) with PHP headers**
- - https://stackoverflow.com/questions/8719276/cross-origin-request-headerscors-with-php-headers
- - https://stackoverflow.com/questions/14467673/enable-cors-in-htaccess
## Cryptojs / Reverse Proxy / API Server
- **Static** Crypto.js [https://github.com/fadilxcoder/cryoto-js.git] --> **PHP** Reverse proxy --> **PHP** HFX Api server [https://github.com/fadilxcoder/hfx-api.git]
- Internally, launch php server : `php -S 127.0.0.1:3052 -t public/` then, `lt --port 3052 --subdomain api-hfx` + *Add `'Bypass-Tunnel-Reminder'` in request header to bypass tunnel landing page*