Skip to content

meto260/WebReverseGate

Repository files navigation

Web Reverse Gate

A simple "reverse proxy" application that can record and manipulate traffic passing through it. For each application it publishes, it provides a webhook address that can be triggered through "git" service providers and execute predefined command strings in sequence. It can rival applications like IIS and Nginx

flow_image


A portable timeseries database Questdb is required!

Download Questdb


appsettings.json

"ReverseProxy": {
    "Routes": {
      "route1": {
        "ClusterId": "cluster1",
        "Match": {
          "Path": "{**catch-all}"
        }
      }
    },
    "Clusters": {
      "cluster1": {
        "Destinations": {
          "destination1": {
            "Address": "https://example.com"
          }
        }
      }
    }
  }

apps.yml

containers:
    - apps:
        appname: testname
        runbefore:
            - taskkill /f /IM back4mvc.exe
            - cd C:\temp\apptest1
            - git clone https://github.com/meto260/back4mvc.git
            - cd C:\temp\apptest1\back4mvc
            - git pull
        runafter:
            - taskkill /f /IM back4mvc.exe
            - cd C:\temp\apptest1\back4mvc
            - dotnet build
            - cd back4mvc
            - dotnet run

Example github webhook trigger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages