container integration

This commit is contained in:
2025-10-22 21:03:38 +02:00
parent 81761215ed
commit 10d004ded8
6 changed files with 162 additions and 2 deletions

43
nginx.conf Normal file
View File

@@ -0,0 +1,43 @@
worker_processes auto;
pid /tmp/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Logging
access_log off;
error_log /dev/stderr warn;
# Performance
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
keepalive_requests 1000;
# Compression
gzip off;
server {
listen 7200;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~ ^/api {
proxy_pass http://backend:7080;
}
}
}