Skip to content

Latest commit

 

History

History
61 lines (51 loc) · 1.58 KB

Readme.md

File metadata and controls

61 lines (51 loc) · 1.58 KB

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