mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-01-25 02:08:27 +00:00
* add jambonz medium AWS deployment: sbc(sip+rtp), fs, web+monitoring * fix terraform proxmox: correct calculation of private IP * fixs for jambonz-medium * spread sbc and fs across availability zones
41 lines
909 B
Plaintext
41 lines
909 B
Plaintext
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
location /api/ {
|
|
rewrite ^/api/(.*)$ /$1 break;
|
|
proxy_pass http://localhost:3000;
|
|
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;
|
|
}
|
|
} |