{"id":18469060,"url":"https://github.com/sansible/nginx","last_synced_at":"2025-10-24T17:38:36.713Z","repository":{"id":46814209,"uuid":"50595773","full_name":"sansible/nginx","owner":"sansible","description":"See https://github.com/sansible/sansible for more information","archived":false,"fork":false,"pushed_at":"2023-01-24T23:25:26.000Z","size":48,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":8,"default_branch":"develop","last_synced_at":"2025-03-23T11:04:30.020Z","etag":null,"topics":["ansible","ansible-role","ansible-roles","nginx"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/sansible.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}},"created_at":"2016-01-28T16:18:53.000Z","updated_at":"2021-06-15T11:25:34.000Z","dependencies_parsed_at":"2023-02-14T02:31:12.262Z","dependency_job_id":null,"html_url":"https://github.com/sansible/nginx","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fnginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fnginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fnginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fnginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sansible","download_url":"https://codeload.github.com/sansible/nginx/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247824178,"owners_count":21002224,"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":["ansible","ansible-role","ansible-roles","nginx"],"created_at":"2024-11-06T10:08:52.647Z","updated_at":"2025-10-24T17:38:36.663Z","avatar_url":"https://github.com/sansible.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nginx\n\nMaster: [![Build Status](https://travis-ci.org/sansible/nginx.svg?branch=master)](https://travis-ci.org/sansible/nginx)\nDevelop: [![Build Status](https://travis-ci.org/sansible/nginx.svg?branch=develop)](https://travis-ci.org/sansible/nginx)\n\n* [Installation and Dependencies](#installation-and-dependencies)\n* [Tags](#tags)\n* [Examples](#examples)\n\nInstalls and configures nginx.\n\n\n\n\n## Installation and Dependencies\n\nThis role has no dependencies.\n\nTo install run `ansible-galaxy install sansible.nginx` or add this to your\n`roles.yml`\n\n```YAML\n- name: sansible.nginx\n  version: v3.0.1\n```\n\nand run `ansible-galaxy install -p ./roles -r roles.yml`\n\n\n\n\n## Tags\n\nThis role uses two tags: **build** and **configure**\n\n* `build` - Installs Nginx.\n* `configure` - (re-)Configures Nginx.\n\n\n\n\n## Examples\n\nTo simply install Nginx:\n\n```YAML\n- name: Install Nginx\n  hosts: sandbox\n\n  pre_tasks:\n    - name: Update apt\n      become: yes\n      apt:\n        cache_valid_time: 1800\n        update_cache: yes\n      tags:\n        - build\n\n  roles:\n    - role: sansible.nginx\n```\n\nThe default access log format is in JSON, to use the standard txt format:\n\n\n```YAML\n- name: Install Nginx\n  hosts: sandbox\n\n  pre_tasks:\n    - name: Update apt\n      become: yes\n      apt:\n        cache_valid_time: 1800\n        update_cache: yes\n      tags:\n        - build\n\n  roles:\n    - role: sansible.nginx\n      sansible_nginx_access_log_format: standard\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fnginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsansible%2Fnginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fnginx/lists"}