Files
homelab/active/podman_nginx/nginx.md
ducoterra ef9104c796
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s
moving everything to active or retired vs incubating and graduated
2025-04-19 18:52:33 -04:00

566 B

Ngnix

TCP Stream Proxy

# Get the initial configuration
podman run --rm --entrypoint=cat docker.io/nginx /etc/nginx/nginx.conf > nginx.conf
scp nginx.conf 3dserver:/etc/nginx/nginx.conf
vim /etc/containers/systemd/nginx.container
[Unit]
Description=Nginx

[Container]
AddCapability=NET_ADMIN
ContainerName=nginx
Image=docker.io/nginx
Network=host
SecurityLabelDisable=true
Volume=/etc/nginx:/etc/nginx

[Service]
Restart=always

[Install]
WantedBy=default.target
systemctl daemon-reload
systemctl start nginx