{"id":16183121,"url":"https://github.com/retailify/nginx-base","last_synced_at":"2026-01-20T03:34:48.461Z","repository":{"id":90882238,"uuid":"380459865","full_name":"retailify/nginx-base","owner":"retailify","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-26T09:39:10.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T15:24:35.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/retailify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-26T09:07:45.000Z","updated_at":"2021-06-26T09:39:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"15a8d0e3-4615-4353-bc58-506b5c2c43a8","html_url":"https://github.com/retailify/nginx-base","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retailify%2Fnginx-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retailify%2Fnginx-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retailify%2Fnginx-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retailify%2Fnginx-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/retailify","download_url":"https://codeload.github.com/retailify/nginx-base/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247655135,"owners_count":20974128,"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":[],"created_at":"2024-10-10T06:44:56.667Z","updated_at":"2026-01-20T03:34:48.435Z","avatar_url":"https://github.com/retailify.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nginx-Base Docker Container\n\nThis images was build from the official NGINX source with compiled modules as described in the headline.\n\nsee: https://hub.docker.com/_/nginx\n\n## Dockerhub image\n\n[nginx-base](https://hub.docker.com/r/jproxx/nginx-base)\n\n## Build\n\n```bash\ndocker-compose up --build\n```\n\n## Enable Brotli compression\n\nIn your `nginx.conf` you have to load the compiled Brotli modules and switch Brotli on. You will find all configuration options in this github repository: https://github.com/google/ngx_brotli\n\n```\nload_module modules/ngx_http_brotli_filter_module.so;\nload_module modules/ngx_http_brotli_static_module.so;\n\nhttp {\n   # other nginx configurations..... \n\n    gzip  on;\n    brotli on;\n    brotli_comp_level 6;\n    brotli_static on;\n    brotli_types application/atom+xml application/javascript application/json application/rss+xml\n                 application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype\n                 application/x-font-ttf application/x-javascript application/xhtml+xml application/xml\n                 font/eot font/opentype font/otf font/truetype image/svg+xml image/vnd.microsoft.icon\n                 image/x-icon image/x-win-bitmap text/css text/javascript text/plain text/xml;\n\n   include /etc/nginx/conf.d/*.conf;\n}\n```\n\n## Enable Lua support\n\nPut this in your `nginx.conf` to load Lua. \n\n```\nload_module modules/ndk_http_module.so;\nload_module modules/ngx_http_lua_module.so;\n```\n\nAnd this into your `default.conf`.\n\n```\nserver {\n  # other server stuff\n\n  location /example {\n    content_by_lua_block {\n      ngx.say(\"OK\")\n    }\n  }\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretailify%2Fnginx-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fretailify%2Fnginx-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretailify%2Fnginx-base/lists"}