All checks were successful
Build and push Docker image at git tag / build (push) Successful in 26m48s
27 lines
514 B
Plaintext
27 lines
514 B
Plaintext
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;
|
|
}
|
|
|
|
} |