Files
hatchet/build/package/dashboard-nginx.conf
abelanger5 d9bcfda487 feat: dashboard container image (#937)
* feat: dashboard container image

* fix: build

* add release and pre-release

* forward cli flags to hatchet-api

* fix: make entrypoint executable

* hatchet-api path fix

* fix: hatchet-api path, again
2024-10-04 10:33:23 -04:00

25 lines
594 B
Plaintext

worker_processes 4;
events { worker_connections 1024; }
http {
server {
listen 80;
root /usr/share/nginx/html;
include /etc/nginx/mime.types;
index index.html index.htm;
location / {
try_files $uri /index.html;
}
location /api {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}