{"id":18258902,"url":"https://github.com/pottava/basicauth-reverseproxy","last_synced_at":"2026-03-12T21:12:02.148Z","repository":{"id":42200770,"uuid":"51305056","full_name":"pottava/basicauth-reverseproxy","owner":"pottava","description":"Dockerized reverse proxy with basic authentication.","archived":false,"fork":false,"pushed_at":"2022-04-10T20:10:17.000Z","size":64,"stargazers_count":8,"open_issues_count":13,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-26T20:14:04.685Z","etag":null,"topics":["aws-s3","http","http2","proxy-server","webapp"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/pottava/proxy/","language":"Go","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/pottava.png","metadata":{"files":{"readme":"README-ja.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}},"created_at":"2016-02-08T15:11:53.000Z","updated_at":"2023-02-17T14:37:18.000Z","dependencies_parsed_at":"2022-08-12T09:10:58.343Z","dependency_job_id":null,"html_url":"https://github.com/pottava/basicauth-reverseproxy","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/pottava/basicauth-reverseproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fbasicauth-reverseproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fbasicauth-reverseproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fbasicauth-reverseproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fbasicauth-reverseproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pottava","download_url":"https://codeload.github.com/pottava/basicauth-reverseproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fbasicauth-reverseproxy/sbom","scorecard":{"id":742227,"data":{"date":"2025-08-11","repo":{"name":"github.com/pottava/basicauth-reverseproxy","commit":"11bad7e070f71c10a7dc4b8377f12384b8ea161e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.4 not signed: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/19274248","Warn: release artifact v1.1.3 not signed: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/14740737","Warn: release artifact v1.1.2 not signed: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/9239899","Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/9026552","Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/8005070","Warn: release artifact v1.1.4 does not have provenance: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/19274248","Warn: release artifact v1.1.3 does not have provenance: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/14740737","Warn: release artifact v1.1.2 does not have provenance: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/9239899","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/9026552","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/pottava/basicauth-reverseproxy/releases/8005070"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: dev/Dockerfile:1: pin your Docker image by updating pottava/golang:1.9-builder to pottava/golang:1.9-builder@sha256:1dd66e66f6d738eaf81aa8d5f1ddbe038bc130ec5646bc32240e936aab241bc2","Warn: containerImage not pinned by hash: prod/Dockerfile:1: pin your Docker image by updating alpine:3.10 to alpine:3.10@sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98","Warn: containerImage not pinned by hash: prod/Dockerfile-win:1: pin your Docker image by updating mcr.microsoft.com/windows/nanoserver:10.0.14393.2485 to mcr.microsoft.com/windows/nanoserver:10.0.14393.2485@sha256:543145e7387282a60b3d357cd7a9f2c697d52bc45496145f0dcd6bb570ca122e","Warn: goCommand not pinned by hash: prod/Dockerfile:7-17","Info:   0 out of   3 containerImage dependencies pinned","Info:   0 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T17:44:05.938Z","repository_id":42200770,"created_at":"2025-08-22T17:44:05.938Z","updated_at":"2025-08-22T17:44:05.938Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30444405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T20:23:30.529Z","status":"ssl_error","status_checked_at":"2026-03-12T20:23:14.027Z","response_time":114,"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":["aws-s3","http","http2","proxy-server","webapp"],"created_at":"2024-11-05T10:35:21.528Z","updated_at":"2026-03-12T21:12:02.114Z","avatar_url":"https://github.com/pottava.png","language":"Go","readme":"# Basic 認証も可能なリバースプロキシ\n\n[![pottava/proxy](http://dockeri.co/image/pottava/proxy)](https://hub.docker.com/r/pottava/proxy/)\n\n## 概要\n\n指定した URL にリバースプロキシするだけのサービスです。  \nオプションでフロントに Basic 認証がかけられます。\n\n\n## 使い方\n\n### 1. 環境変数をセットします\n\n環境変数            | 説明                                             | 必須\n------------------ | ----------------------------------------------- | -------------------\nPROXY_PATTERNS     | 仮想ホストや仮想パスと、そのリバースプロキシ先          | * (または PROXY_URL)\nPROXY_URL          | リバースプロキシ先の `URL`                         | * (または PROXY_PATTERNS)\nBASIC_AUTH_USER    | Basic 認証をかけるなら、その `ユーザー名`            | \nBASIC_AUTH_PASS    | Basic 認証をかけるなら、その `パスワード`            | \nAPP_PORT           | このサービスが待機する `ポート番号` （デフォルト 80番） | \nSSL_CERT_PATH      | TLS を有効にしたいなら、その `cert.pem` へのパス     | \nSSL_KEY_PATH       | TLS を有効にしたいなら、その `key.pem` へのパス      | \nCORS_ALLOW_ORIGIN  | CORS を有効にしたいなら、リソースへのアクセスを許可する URI. | \nCORS_ALLOW_METHODS | CORS を有効にしたいなら、許可する [HTTP request methods](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)のカンマ区切りのリスト. | \nCORS_ALLOW_HEADERS | CORS を有効にしたいなら、サポートするヘッダーのカンマ区切りのリスト. | \nCORS_MAX_AGE       | CORS における preflight リクエスト結果のキャッシュ上限時間(秒). (デフォルト 600秒) | \nACCESS_LOG         | 標準出力へアクセスログを送る (初期値: false)          | \nCONTENT_ENCODING   | リクエストが許可して入ればレスポンスを圧縮します (初期値: false) |\nHEALTHCHECK_PATH   | 指定すると Basic 認証設定の有無などに依らず 200 OK を返します |\nUSE_X_FORWARDED_HOST | Host 名は X-Forwarded-Host に格納してバックエンドに流します. (初期値: true) |\n\n### 2. アプリを起動します\n\n`$ docker run -d -p 8080:80 -e PROXY_URL pottava/proxy`\n\n* Basic 認証をつけるなら:  \n\n`$ docker run -d -p 8080:80 -e PROXY_URL -e BASIC_AUTH_USER -e BASIC_AUTH_PASS pottava/proxy`\n\n* TLS を有効にしたいなら:  \n\n`$ docker run -d -p 8080:80 -e PROXY_URL -e SSL_CERT_PATH -e SSL_KEY_PATH pottava/proxy`\n\n* CORS を有効にしたいなら:\n\n`$ docker run -d -p 8080:80 -e PROXY_URL -e CORS_ALLOW_ORIGIN -e CORS_ALLOW_METHODS -e CORS_ALLOW_HEADERS -e CORS_MAX_AGE pottava/proxy`\n\n* 仮想ホストでのリバースプロキシ:\n\n`$ export PROXY_PATTERNS=\"/static=http://assets.cdn/,*.example.com=http://app.io/,*=http://sorry.com/\"`  \n`$ docker run -d -p 8080:80 -e PROXY_PATTERNS pottava/proxy`\n\n* docker-compose.yml として使うなら:  \n\n```\nproxy:\n  image: pottava/proxy\n  ports:\n    - 80:80\n  links:\n    - web\n  environment:\n    - PROXY_URL=http://web/\n    - BASIC_AUTH_USER=admin\n    - BASIC_AUTH_PASS=password\n    - ACCESS_LOG=true\n  container_name: proxy\n```\n\n* docker-compose.yml（仮想ホストと SSL/TLS 有効）として使うなら:  \n\n```\nproxy:\n  image: pottava/proxy\n  ports:\n    - 443:80\n  links:\n    - web\n  environment:\n    - PROXY_PATTERNS=\"/static=http://assets.cdn/,*.example.com=http://app.io/,*=http://sorry.com/\"\n    - SSL_CERT_PATH=/etc/certs/cert.pem\n    - SSL_KEY_PATH=/etc/certs/key.pem\n  volumes:\n    - ./certs:/etc/certs\n  container_name: proxy\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottava%2Fbasicauth-reverseproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpottava%2Fbasicauth-reverseproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottava%2Fbasicauth-reverseproxy/lists"}