{"id":13825814,"url":"https://github.com/azure/reverse-proxy-dotnet","last_synced_at":"2025-10-07T04:31:14.596Z","repository":{"id":66003992,"uuid":"101519762","full_name":"Azure/reverse-proxy-dotnet","owner":"Azure","description":"Reverse Proxy agent","archived":true,"fork":false,"pushed_at":"2019-11-14T22:09:51.000Z","size":359,"stargazers_count":47,"open_issues_count":2,"forks_count":29,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-10-01T16:12:40.279Z","etag":null,"topics":["dotnet-core","proxy","reverse-proxy"],"latest_commit_sha":null,"homepage":"https://azure.github.io/reverse-proxy-dotnet","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-26T23:54:58.000Z","updated_at":"2024-05-05T07:11:24.000Z","dependencies_parsed_at":"2023-03-05T21:30:17.953Z","dependency_job_id":null,"html_url":"https://github.com/Azure/reverse-proxy-dotnet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Freverse-proxy-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Freverse-proxy-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Freverse-proxy-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Freverse-proxy-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure","download_url":"https://codeload.github.com/Azure/reverse-proxy-dotnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235586525,"owners_count":19014035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet-core","proxy","reverse-proxy"],"created_at":"2024-08-04T09:01:27.489Z","updated_at":"2025-10-07T04:31:09.272Z","avatar_url":"https://github.com/Azure.png","language":"C#","funding_links":[],"categories":["\u003ca id=\"01e6651181d405ecdcd92a452989e7e0\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"e9f97504fbd14c8bb4154bd0680e9e62\"\u003e\u003c/a\u003e反向代理"],"readme":"[![Build][build-badge]][build-url]\n[![Issues][issues-badge]][issues-url]\n[![Gitter][gitter-badge]][gitter-url]\n\nReverse Proxy\n=============\n\nThis service allows to expose private resources in a managed way, and\nthrough a unique endpoint. Private resources are returned to the client\nas if they originated from the proxy server itself.\n\nThe proxy is used to secure private resources with a valid SSL certificate,\nand can be extended with other features like load balancing, caching,\nA/B testing, version management, etc.\n\nThe service allows also to host a set of static files, which are served\nfrom the local copy, without routing requests to the remote endpoint.\n\nThe project documentation is available\n[here](https://azure.github.io/reverse-proxy-dotnet).\n\nHow to use the service\n======================\n\n## Build and Run from the command line\n\nThe [scripts](scripts) folder contains scripts for some frequent tasks:\n\n* `build`: compile all the projects and run the tests.\n* `run`: compile the projects and run the service. This will prompt for\n  elevated privileges in Windows to run the application.\n\n## Deployment\n\nThe service is designed to be deployed as an \n[Azure Web App](https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-tutorial-custom-SSL),\nreusing the SSL encryption provided by the platform, to expose, for example,\nprivate services hosted in Azure VMs, Cloud Apps, etc. When deploying\nvia Azure Web Apps, remember to set the remote endpoint setting, under\n\"Application settings\"\n\nHowever, you can easily extend the code to use a custom certificate,\nsee the\n[documentation](https://azure.github.io/reverse-proxy-dotnet/ssl-setup.html)\nfor more information.\n\n## Configuration\n\nThe service has two mandatory values for the remote endpoint, and some optional\nsettings with a default value, that can be overridden if required:\n\nMandatory configuration settings:\n\n* `endpoint`: this is the full URL of the remote endpoint where all requests\n  are routed to.\n  Environment variable: `REMOTE_ENDPOINT`.\n* `ssl_cert_thumbprint`: the thumbprint of the SSL certificate used by the remote\n  endpoint. This allows to use self-signed certificates, with fine-grained control\n  on the exact certificate used by the remote server.\n  Environment variable: `REMOTE_ENDPOINT_SSL_THUMBPRINT`.\n  \nOptional settings:\n\n* `redirectHttpToHttps`: optional value to decide whether HTTP requests should\n  be redirected to HTTPS (default: true).\n  Environment variable: `REDIRECT_HTTP_TO_HTTPS`.\n* `strictTransportSecurityEnabled`: whether to enable HSTS (default: true).\n  Environment variable: `HSTS_ENABLED`.\n* `strictTransportSecurityPeriod`: how long to persist HSTS rules in the\n  clients, in seconds (default: 30 days).\n  Environment variable: `HSTS_PERIOD`.\n* `statusEndpointEnabled`: whether to expose extra information in the /status\n  endpoint (default: false).\n  Environment variable: `STATUS_ENDPOINT_ENABLED`.\n* `maxPayloadSize`: the maximum size of requests' payload (default: 100Kb).\n  Environment variable: `MAX_PAYLOAD_SIZE`.\n* `loglevel`: application logging level (default: Warn).\n  Environment variable: `LOG_LEVEL`.\n\n[build-badge]: https://img.shields.io/travis/Azure/reverse-proxy-dotnet.svg\n[build-url]: https://travis-ci.org/Azure/reverse-proxy-dotnet\n[issues-badge]: https://img.shields.io/github/issues/azure/reverse-proxy-dotnet.svg\n[issues-url]: https://github.com/azure/reverse-proxy-dotnet/issues\n[gitter-badge]: https://img.shields.io/gitter/room/azure/iot-solutions.js.svg\n[gitter-url]: https://gitter.im/azure/iot-solutions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazure%2Freverse-proxy-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazure%2Freverse-proxy-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazure%2Freverse-proxy-dotnet/lists"}