| The command to run this container is: |
| |
| podman run -d --rm -v /srv/nginx/etc:/etc/nginx -v /srv/nginx/htdocs:/srv/www/htdocs --name nginx -p 80:80/tcp -p 443:443/tcp registry.opensuse.org/opensuse/nginx |
| |
| Configuration files should be stored in /srv/nginx/etc |
| Webpages should be stored in /srv/nginx/htdocs |
| |
| It is possible to only override nginx.conf: |
| podman run -d --rm -v /srv/nginx/etc/nginx.conf:/etc/nginx/nginx.conf --name nginx -p 80:80/tcp -p 443:443/tcp registry.opensuse.org/opensuse/nginx |