{"id":19349179,"url":"https://github.com/whyvra/dotnet-nginx-brotli","last_synced_at":"2026-04-11T13:02:46.691Z","repository":{"id":114407374,"uuid":"333228131","full_name":"whyvra/dotnet-nginx-brotli","owner":"whyvra","description":"A Debian based docker image that includes ASP.NET Core 5.0, nginx and the brotli compression module.","archived":false,"fork":false,"pushed_at":"2022-08-01T15:00:57.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T06:52:06.144Z","etag":null,"topics":["aspnet","blazor","brotli","docker","dotnet","net50","nginx","reverse-proxy"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/whyvra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-26T21:58:25.000Z","updated_at":"2022-02-05T19:56:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"2cc85dc8-8e00-440f-9f05-f222c61ee401","html_url":"https://github.com/whyvra/dotnet-nginx-brotli","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/whyvra/dotnet-nginx-brotli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyvra%2Fdotnet-nginx-brotli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyvra%2Fdotnet-nginx-brotli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyvra%2Fdotnet-nginx-brotli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyvra%2Fdotnet-nginx-brotli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whyvra","download_url":"https://codeload.github.com/whyvra/dotnet-nginx-brotli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyvra%2Fdotnet-nginx-brotli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31681201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aspnet","blazor","brotli","docker","dotnet","net50","nginx","reverse-proxy"],"created_at":"2024-11-10T04:25:04.550Z","updated_at":"2026-04-11T13:02:46.634Z","avatar_url":"https://github.com/whyvra.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotnet-nginx-brotli\n\n[![GitHub Build](https://img.shields.io/github/workflow/status/whyvra/dotnet-nginx-brotli/Build%20Docker%20image?style=flat-square)](https://github.com/whyvra/dotnet-nginx-brotli/actions)\n[![Docker Pulls](https://img.shields.io/docker/pulls/whyvra/dotnet-nginx-brotli?style=flat-square)](https://hub.docker.com/r/whyvra/dotnet-nginx-brotli)\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/whyvra/dotnet-nginx-brotli/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nA Debian based docker image that includes ASP.NET Core 5.0, nginx and the brotli compression module.\n\nThis image is intended to host a .NET Web API along with a static frontend like Angular or Blazor.\n\n## Usage\n\nTo pull the image to your local instance, run:\n\n```bash\ndocker pull whyvra/dotnet-nginx-brotli\n```\n\n## Structure\n\nA non-root user and group called `wwwdata` has already been created. Both its ID are 1000. Permissions on nginx folders have already been adjusted so that `wwwdata` may run nginx.\n\nTwo folders have been created under `/srv`, where you can add your .NET DLLs and your static frontend respectively.\n\n```bash\n/srv\n ├── dotnet/\n ├── www/\n```\n\nNginx is configured to load hosts configuration from the `/etc/nginx/conf.d` directory so you should place your conf file there. The brotli module will be loaded on startup. Use the `brotli_static` and `brotli_filter` directives.\n\n`gettext` has also been installed in case you may need to perform a config transformation with environment variables (for example to support SSL).\n\nYou can use the following command:\n```bash\nenvsubst \u003c path/to/tmpl | sed -e 's/@/$/g' \u003e /etc/nginx/conf.d/tunnel.conf\n```\n\nPlease note the `sed`, as envsubst will evaluate all expressions start with `$`, you need to use a placeholder for all symbols which should be `$`. Here, `@` are being used instead of `$` and the `sed` command will replace all `@` with a `$` after the `envsubst` command.\n\n## License\n\nReleased under the [MIT License](https://github.com/whyvra/dotnet-nginx-brotli/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyvra%2Fdotnet-nginx-brotli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhyvra%2Fdotnet-nginx-brotli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyvra%2Fdotnet-nginx-brotli/lists"}