mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-07-04 22:11:48 +00:00
80ec4a45da
* initial changes for proxmox support * proxmox packer updates * terraform template for Proxmox jambonz-mini * update jambonz-mini to 0.8.3-3
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
location /api/ {
|
|
rewrite ^/api/(.*)$ /$1 break;
|
|
proxy_pass http://localhost:3002;
|
|
proxy_set_header Host $host;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://localhost:3001;
|
|
proxy_set_header Host $host;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name grafana.your_domain.com;
|
|
location / {
|
|
proxy_pass http://localhost:3010;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name homer.your_domain.com;
|
|
location / {
|
|
proxy_pass http://localhost:9080;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name jaeger.your_domain.com;
|
|
location / {
|
|
proxy_pass http://localhost:16686;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
} |