Begin Management in Docker
All checks were successful
Build and push Docker image at git tag / build (push) Successful in 26m48s

This commit is contained in:
2024-10-04 21:34:09 +02:00
parent 622f8bc009
commit 80d9d90aaa
24 changed files with 341 additions and 336 deletions

27
docker-mgmt/app.conf Normal file
View File

@ -0,0 +1,27 @@
server {
listen 80 default_server;
server_name _;
root /ums-agenten/plattform/web/public/;
index index.html;
location / {
try_files $uri $uri/ @dynamic;
}
location @dynamic {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect off;
proxy_buffering off;
proxy_pass http://unix:/tmp/uvicorn.sock;
}
}