{"id":20130513,"url":"https://github.com/davidwinter/puppet-nginx","last_synced_at":"2025-07-18T03:38:35.281Z","repository":{"id":66411219,"uuid":"3965979","full_name":"davidwinter/puppet-nginx","owner":"davidwinter","description":"nginx module for puppet","archived":false,"fork":false,"pushed_at":"2013-03-28T11:33:17.000Z","size":132,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T16:15:40.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Puppet","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/davidwinter.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}},"created_at":"2012-04-08T18:16:39.000Z","updated_at":"2022-02-07T18:51:05.000Z","dependencies_parsed_at":"2023-02-20T03:40:28.616Z","dependency_job_id":null,"html_url":"https://github.com/davidwinter/puppet-nginx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidwinter%2Fpuppet-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidwinter%2Fpuppet-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidwinter%2Fpuppet-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidwinter%2Fpuppet-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidwinter","download_url":"https://codeload.github.com/davidwinter/puppet-nginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065283,"owners_count":21041872,"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-11-13T20:38:54.806Z","updated_at":"2025-04-09T16:15:47.120Z","avatar_url":"https://github.com/davidwinter.png","language":"Puppet","readme":"# puppet-nginx\n\nThis puppet module aims to be lightweight and help you get an `nginx` virtual host up and running quickly. It was developed with `vagrant` in mind so that I could get a web environment up and running in as few lines as possible.\n\nIf you're looking for `php-fpm` functionallity too, check out my other module, [phpfpm](https://github.com/davidwinter/puppet-phpfpm), which includes a resource for adding virtual hosts to nginx.\n\n## Install\n\nWith librarian-puppet, add the following to your Puppetfile:\n\n\tmod 'nginx',\n\t\t:git =\u003e 'git://github.com/davidwinter/puppet-nginx.git'\n\nThen run `librarian-puppet install`.\n\n## Usage\n\n\tnginx::vhost { 'your.domain.com':\n\t  root =\u003e '/path/to/docroot',\n\t}\n\nThat's it! If you was expecting more, this module probably isn't for you. Though, there are a few options:\n\n\tnginx::vhost { 'my site':\n\t  ensure      =\u003e present,\n\t  root        =\u003e '/var/www',\n\t  priority    =\u003e '3',\n\t  file        =\u003e 'my-site',\n\t  server_name =\u003e 'my.site.com',\n\t  index       =\u003e 'index.html',\n\t  template    =\u003e 'myconfig/mysite.conf.erb',\n\t}\n\nThe `nginx` class can also be configured:\n\n\tclass { 'nginx':\n\t  ensure        =\u003e present,\n\t  default_vhost =\u003e false,\n\t}\n\n## Author\n\nDavid Winter \u003ci@djw.me\u003e\n\n## Licence\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidwinter%2Fpuppet-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidwinter%2Fpuppet-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidwinter%2Fpuppet-nginx/lists"}