Guest User

Untitled

a guest
Feb 8th, 2025
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | Software | 0 0
  1. [Unit]
  2. Description=nginx
  3.  
  4. [Container]
  5. ContainerName=nginx
  6. Image=docker.io/nginxinc/nginx-unprivileged
  7. AutoUpdate=registry
  8. PublishPort=43192:8080/tcp
  9. PublishPort=43443:8443/tcp
  10. Volume=/var/lib/nginx/data/nginx.conf:/etc/nginx/nginx.conf:Z,ro
  11. Volume=/var/lib/nginx/data/splash.html:/usr/share/nginx/html/splash.html:Z,ro
  12. Volume=/var/lib/nginx/certbot/conf/live/packdynamix.com/privkey.pem:/etc/nginx/privkey.pem:Z
  13. Volume=/var/lib/nginx/certbot/conf/live/packdynamix.com/fullchain.pem:/etc/nginx/fullchain.pem:Z
  14. Volume=/var/lib/nginx/certbot/www:/var/www/certbot:Z
  15.  
  16. [Service]
  17. # Inform systemd of additional exit status
  18. SuccessExitStatus=0 143
  19.  
  20. [Install]
  21. # Start by default on boot
  22. WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment