Migrate from Docker on Debian to Podman on Rocky
- Upgrade base OS from Debian 11 to Rocky Linux 9 - Configure 100GB XFS filesystem with auto-expansion - Replace Docker with rootless Podman for improved security - Add nginx reverse proxy for non-privileged port handling - Move the Traefik dashboard from port 8443 to 9443 - Configure SELinux contexts for container operations
This commit is contained in:
22
roles/webserver/files/nginx.conf
Normal file
22
roles/webserver/files/nginx.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
error_log /var/log/nginx/error.log;
|
||||
pid /run/nginx.pid;
|
||||
|
||||
include /usr/share/nginx/modules/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
stream {
|
||||
server {
|
||||
listen 80;
|
||||
proxy_pass 127.0.0.1:8080;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443;
|
||||
proxy_pass 127.0.0.1:8443;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user