mirror of https://github.com/lukechilds/umbrel.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
700 B
40 lines
700 B
user nginx;
|
|
worker_processes 1;
|
|
|
|
error_log /dev/stdout info;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
access_log /dev/stdout;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
location /api/ {
|
|
proxy_pass http://<middleware-ip>:3005/;
|
|
}
|
|
|
|
location /manager-api/ {
|
|
proxy_pass http://<manager-ip>:3006/;
|
|
}
|
|
|
|
location /logs {
|
|
proxy_pass http://<frontail-ip>:9001/logs;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://<dashboard-ip>:3004/;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
}
|
|
}
|
|
}
|
|
|