581 B · text History e832e77
# Reusable fragment: a stock nginx quadlet + its service.
#
# Any host can pull this in with:
#   include = ["include/nginx.toml"]
# and then override individual entries (e.g. the file's content or the
# service's state) in its own file — the host file always wins.

[[files]]
path = "/etc/containers/systemd/nginx.container"
mode = "0644"
content = """
[Unit]
Description=nginx (shared fragment)

[Container]
Image=docker.io/library/nginx:latest
PublishPort=8080:80

[Install]
WantedBy=multi-user.target
"""

[[services]]
name = "nginx.service"
enabled = true
state = "started"