nginx updates

This commit is contained in:
2026-02-06 20:19:52 -05:00
parent 90105f8997
commit 03c8e95275
2 changed files with 26 additions and 6 deletions

View File

@@ -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;
}
}

View File

@@ -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