PHPackages                             vundb/ansible-role-nginx-upstream - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. vundb/ansible-role-nginx-upstream

ActiveChef-role[DevOps &amp; Deployment](/categories/devops)

vundb/ansible-role-nginx-upstream
=================================

Ansible role to configure nginx upstreams used for loadbalancing

1.2.0(9y ago)058MIT

Since Nov 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vundb/ansible-role-nginx-upstream)[ Packagist](https://packagist.org/packages/vundb/ansible-role-nginx-upstream)[ RSS](/packages/vundb-ansible-role-nginx-upstream/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Ansible Role Nginx Upstream
===========================

[](#ansible-role-nginx-upstream)

Ansible role to configure nginx upstreams used for loadbalancing.

Requirements
------------

[](#requirements)

None.

Role Variables
--------------

[](#role-variables)

- `nginx_user`: Name of system user to run service with. Default value is "nginx"
- `nginx_group`: Name of system group to run service with. Default value is "nginx"
- `nginx_services`: Array with services to be restarted on configuration changes. Default value is \["nginx"\]
- `nginx_upstreams`: Array with upstream configuration. See [default vars file](defaults/main.yml)

Dependencies
------------

[](#dependencies)

None.

Example Playbook
----------------

[](#example-playbook)

```
- hosts: all
  roles:
    - role: vundb-nginx-lb
      nginx_upstreams:
        - label: "example-com"
          server_name: "example.com"
          port: 80
          ip_hash: true
          keepalive: 32
          servers:
            - "127.0.0.1:81"

```

License
-------

[](#license)

MIT

Author Information
------------------

[](#author-information)

- You can find more roles in my GitHub channel [vundb](https://github.com/vundb)
- Follow me on Twitter [@vundb](https://twitter.com/vundb)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

3454d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c047a39da05d0af48ecc206c25c7aff05efbdefc43c9bc3abf428ae53574adf8?d=identicon)[vundb](/maintainers/vundb)

### Embed Badge

![Health badge](/badges/vundb-ansible-role-nginx-upstream/health.svg)

```
[![Health](https://phpackages.com/badges/vundb-ansible-role-nginx-upstream/health.svg)](https://phpackages.com/packages/vundb-ansible-role-nginx-upstream)
```

###  Alternatives

[k10r/deployment

Adds some helpers for shopware-deployment

1321.7k](/packages/k10r-deployment)[metadrop/drupal-boilerplate

Project template for Drupal 9 projects with a relocated document root

281.0k](/packages/metadrop-drupal-boilerplate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
