{"id":19167850,"url":"https://github.com/wmramadan/docker-compose-elk-stack-using-nginx-gzip-compression-and-caching","last_synced_at":"2026-04-16T05:03:16.529Z","repository":{"id":123991911,"uuid":"123526832","full_name":"WMRamadan/Docker-Compose-ELK-Stack-Using-Nginx-gZip-Compression-And-Caching","owner":"WMRamadan","description":"Nginx Loggin using ELK Stack with gZip Compression and Caching","archived":false,"fork":false,"pushed_at":"2018-03-02T03:43:33.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T23:13:06.696Z","etag":null,"topics":["caching","composer","docker","docker-compose","elasticsearch","elk-stack","gzip","kibana","logstash","nginx"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/WMRamadan.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":"2018-03-02T03:43:28.000Z","updated_at":"2018-03-02T03:45:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"99a3a10a-9611-449b-a5e4-470577f2073a","html_url":"https://github.com/WMRamadan/Docker-Compose-ELK-Stack-Using-Nginx-gZip-Compression-And-Caching","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/WMRamadan%2FDocker-Compose-ELK-Stack-Using-Nginx-gZip-Compression-And-Caching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMRamadan%2FDocker-Compose-ELK-Stack-Using-Nginx-gZip-Compression-And-Caching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMRamadan%2FDocker-Compose-ELK-Stack-Using-Nginx-gZip-Compression-And-Caching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMRamadan%2FDocker-Compose-ELK-Stack-Using-Nginx-gZip-Compression-And-Caching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WMRamadan","download_url":"https://codeload.github.com/WMRamadan/Docker-Compose-ELK-Stack-Using-Nginx-gZip-Compression-And-Caching/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240247836,"owners_count":19771381,"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":["caching","composer","docker","docker-compose","elasticsearch","elk-stack","gzip","kibana","logstash","nginx"],"created_at":"2024-11-09T09:39:37.439Z","updated_at":"2025-10-27T09:51:18.818Z","avatar_url":"https://github.com/WMRamadan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Compose ELK Stack Using Nginx gZip Compression and Caching\n\nAn ELK (Elasticsearch, Logstash, Kibana) stack with Docker Compose using Nginx gZip Compression and Caching.\n\nNginx log files are parsed using ELK Stack.\n\n## Usage\n\n### Bringing up the stack\n\nStart the ELK stack by building and running with the following command:\n\n```console\n$ docker-compose build \u0026\u0026 docker-compose up\n```\n\nGive some time for the images to dowload and build, then access the Kibana web UI\n[http://localhost:5601](http://localhost:5601) with a web browser.\n\n### Checking gZip Compression and Caching\n\nAfter the ELK stack has started you can use the following command in your terminal:\n\n```console\n$ curl -IL -H \"accept-encoding: gzip\" http://localhost:8080/test.jpg\n```\n\nThis will give you an output similar to the below:\n\n```console\nHTTP/1.1 200 OK\nServer: nginx/1.13.9\nDate Fri, 02 Mar 2018 18:45:66 GMT\nContent-Type: image/jpeg\nLast-Modified: Fri, 02 Mar 2018 16:40:35 GMT\nConnection: keep-alive\nVary: Accept-Encoding\nETag: W/\"5a98bae3-6723\"\nExpires: Thu, 31 Dec 2037 23:55:55 GMT\nCache-Control: max-age=315360000\nContent-Encoding: gzip\n```\n\nFrom the above you will notice that 'Cache-Control' and 'Content-Encoding' are showing that cache is set with and expiray date and compression is using gzip.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmramadan%2Fdocker-compose-elk-stack-using-nginx-gzip-compression-and-caching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmramadan%2Fdocker-compose-elk-stack-using-nginx-gzip-compression-and-caching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmramadan%2Fdocker-compose-elk-stack-using-nginx-gzip-compression-and-caching/lists"}