Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(proxy-gae): Generalise proxy-gae to forward generic routes #149

Merged
merged 32 commits into from
Nov 25, 2022

Conversation

mrzzy
Copy link
Owner

@mrzzy mrzzy commented Nov 25, 2022

Motivation

Generalise proxy gae so its able act as a proxy as needed instead of just proxying WARP VM.

Contents

Generalise proxy-gae to forward generic routes:

  • embed a template.py that runs on proxy-gae's container entrypoint. This script templates a nginx.conf based the content of PROXY_SPEC env var. (eg. /proxy=http://proxy.me creates a location block to forward /proxy/here to http://proxy.me/here)
  • generalise terraform deployment for proxy-gae from being WARP VM specific.

proxy-gae was hardcoded to resolve with cloudflare dns, which will be
unable to resolve the containers from docker-compose
@mrzzy mrzzy added the feature New feature or request label Nov 25, 2022
@mrzzy mrzzy self-assigned this Nov 25, 2022
@sonarcloud
Copy link

sonarcloud bot commented Nov 25, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mrzzy mrzzy merged commit cbadf0c into main Nov 25, 2022
@mrzzy mrzzy deleted the feat/generic-proxy branch November 25, 2022 03:10
@mrzzy mrzzy mentioned this pull request Feb 25, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant