diff --git a/active/podman_nginx/nginx.conf b/active/podman_nginx/nginx.conf index f1b71a6..60e5ae0 100644 --- a/active/podman_nginx/nginx.conf +++ b/active/podman_nginx/nginx.conf @@ -1,20 +1,41 @@ - user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; - events { worker_connections 1024; } - stream { + log_format stream_logs '$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time "$upstream_addr"'; + + access_log /dev/stdout stream_logs; + error_log stderr info; + + server { + listen 3478; + listen [::]:3478; + proxy_pass nextcloud.reeselink.com:3478; + } + server { listen 2222; listen [::]:2222; - proxy_pass podman.reeselink.com:2222; + proxy_pass gitea.reeselink.com:2222; + + } + + server { + listen 25565; + listen [::]:25565; + proxy_pass minecraft.reeselink.com:25565; + } + + server { + listen 25566; + listen [::]:25566; + proxy_pass minecraft.reeselink.com:25566; } } \ No newline at end of file diff --git a/active/podman_nginx/nginx.md b/active/podman_nginx/nginx.md index df29d09..86374d1 100644 --- a/active/podman_nginx/nginx.md +++ b/active/podman_nginx/nginx.md @@ -4,8 +4,7 @@ ```bash # 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 +scp active/podman_nginx/nginx.conf proxy:/etc/nginx/nginx.conf ``` ```bash