This commit is contained in:
2025-08-28 09:58:25 +02:00
parent ecc54c0cfd
commit 7489d7e2b1
2 changed files with 23 additions and 943 deletions

23
nginx.conf Normal file
View File

@@ -0,0 +1,23 @@
events {}
http {
upstream stupid_apis {
server stupid-apis-1:3000;
server stupid-apis-2:3000;
server stupid-apis-3:3000;
}
server {
listen 80;
location / {
proxy_pass http://stupid_apis;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
}