Skip to content

About

Ansible collection to manage NGINX (a HTTP web server, reverse proxy, cache, load balancer)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

169 Commits

Folders and files

Repository files navigation

Ansible collection: foundata.nginx

This repository contains the foundata.nginx Ansible Collection.

It provides resources to manage and use NGINX, a HTTP web server, reverse proxy, cache, and load balancer.



⭐ Found this useful? Support open-source and star this project:

GitHub repository


Table of contents

Included content

Role: foundata.nginx.run

The primary role in this collection to configure and maintain NGINX, including sites / virtual hosts (server {}) and related configuration. Its README.md covers configuration and usage examples.

The role creates the default access.log and error.log with mode 0640 and distribution-specific ownership: www-data:adm on Debian and Ubuntu, nginx:root on RHEL-family systems, and nginx:nginx on SUSE. Debian, Ubuntu and RHEL-family defaults match their packaged logrotate create directives. SUSE inherits a bare global create, which preserves the existing attributes. Use the run_nginx_access_log_default_file_* and run_nginx_error_log_default_file_* options to override owner, group and mode. Attribute changes preserve log contents and timestamps and do not restart NGINX. If you override these values, align any explicit logrotate creation attributes as well; the role does not manage log rotation or per-site log permissions.

Dependencies

See dependencies in galaxy.yml.

Versioning and deprecation

This project follows Semantic Versioning. Patch releases contain compatible fixes; minor releases may add compatible features or deprecations. Breaking changes, including changes to public defaults or removal of supported runtimes, require a major release.

Deprecations are announced in the changelog and relevant documentation, with migration guidance and the planned removal version. Deprecated interfaces remain available until that major release.

Licensing, copyright

Copyright (c) 2026, foundata GmbH https://foundata.com

This project is licensed under the GNU General Public License v3.0 or later (SPDX-License-Identifier: GPL-3.0-or-later), see LICENSES/GPL-3.0-or-later.txt for the full text.

The REUSE.toml file provides detailed licensing and copyright information in a human- and machine-readable format. This includes parts that may be subject to different licensing or usage terms, such as third-party components. The repository conforms to the REUSE specification. You can use reuse spdx to create an SPDX software bill of materials (SBOM).

REUSE status

Trademarks

Third-party trademarks used in this repository:

  • Ansible®, CentOS®, Fedora®, Red Hat® and RHEL® are trademarks of Red Hat, LLC, registered in the United States and other countries.
  • Debian® is a trademark of Software in the Public Interest, Inc., registered in Germany and the United States.
  • Linux® is a trademark of Linus Torvalds, registered in Germany, the European Union and the United States.
  • openSUSE® is a trademark of SUSE LLC or its affiliates, registered in the European Union and the United States.
  • SUSE® is a trademark of SUSE LLC or its affiliates, registered in Germany, the European Union and the United States.
  • Ubuntu® is a trademark of Canonical Ltd., registered in Germany, the European Union and the United States.

Their use here is purely descriptive and does not imply any affiliation with or endorsement by the trademark holders.

Own and licensed trademarks used in this repository:

  • foundata® is a trademark of IPAM GmbH, registered in Germany and the European Union, licensed to foundata GmbH.

Author information

This project was created and is maintained by foundata.

About

Ansible collection to manage NGINX (a HTTP web server, reverse proxy, cache, load balancer)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages