Skip to main content

Reverse Proxy for Panels

Use Case

This configuration is helpful, if you want to build a reverse proxy in front of specific panels without having to expose the full Broadcast Suite GUI to the outside.

This example configuration

  • creates a reverse proxy in front of Broadcast Suite
  • grants access to the login page
  • grants access to a single panel
  • creates a short url / alias for a single panel
  • prohibits access to all other pages

Configuration

/etc/nginx/conf.d/broadcastsuite.conf
server {

listen 80;
server_name broadcastsuite.mydomain.corp;

add_header Strict-Transport-Security max-age=31536000;

proxy_http_version 1.1;
proxy_read_timeout id;
proxy_connect_timeout 4;
proxy_send_timeout id;

# Broadcast Suite Assets
location ~* ^/(_blazor|_content|_framework|css|img|js|webfonts) {
proxy_pass http://127.0.0.1:5000;
}

# Authorize Login
location /Account {
proxy_pass http://127.0.0.1:5000;
}

# Allow access to a specific panel
location /Panels/View/fd9addc6-af75-4cf2-b8d9-7ae7f81d8f77 {
proxy_pass http://127.0.0.1:5000;
}

# Short URL for a single panel
# Replace __PANEL_ID__ with the corresponding panel ID
location /my_panel/ {
return 301 /Panels/View/__PANEL_ID__;
}
}