Created
January 27, 2025 03:43
-
-
Save Daethyra/62926809dde809c0425f99764da95bd5 to your computer and use it in GitHub Desktop.
Starts an Ngrok HTTPS endpoint w/ OAuth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 3 | |
agent: | |
authtoken: | |
api_key: | |
connect_timeout: 30s | |
console_ui: iftty | |
console_ui_color: black | |
heartbeat_interval: 1m | |
heartbeat_tolerance: 90s | |
log_format: term | |
endpoints: | |
- name: testcloud | |
url: https://ligma-chugma.ngrok-free.app | |
metadata: "edge=ligma_chugma" # Labels converted to metadata | |
upstream: | |
url: http://host.docker.internal:80 | |
traffic_policy: | |
on_http_request: | |
- actions: | |
- type: oauth | |
config: | |
provider: google | |
- type: rewrite | |
config: | |
headers: | |
Host: "ligma-chugma.ngrok-free.app" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment