This commit is contained in:
martin 2025-04-23 09:56:32 +02:00
parent 5f25c59343
commit 8ef4fba680

View File

@ -1,4 +1,24 @@
# server {
# listen 6379;
# proxy_pass 192.168.178.107:6379; # Directly forward to Redis
# proxy_set_header Host $host; # Preserve the original Host header
# proxy_set_header X-Real-IP $remote_addr; # Preserve the client's IP
# }
stream {
upstream redis_backend {
server 192.168.178.107:6379; # Redis server address and port
}
server {
listen 6379; # Port Nginx will listen on for incoming requests
proxy_pass redis_backend; # Forward all requests to Redis
}
}
server {
# server_name compute.asolvo.de;
server_name optimization.ligalytics.com;
@ -102,21 +122,3 @@ server {
ssl_certificate /etc/letsencrypt/live/club.ligalytics.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/club.ligalytics.com/privkey.pem; # managed by Certbot
}
# server {
# listen 6379;
# proxy_pass 192.168.178.107:6379; # Directly forward to Redis
# proxy_set_header Host $host; # Preserve the original Host header
# proxy_set_header X-Real-IP $remote_addr; # Preserve the client's IP
# }
stream {
upstream redis_backend {
server 192.168.178.107:6379; # Redis server address and port
}
server {
listen 6379; # Port Nginx will listen on for incoming requests
proxy_pass redis_backend; # Forward all requests to Redis
}
}