Cleanup Nginx proxies for StackLight dashboards
This keeps the backward compatibility for existing deployments
diff --git a/nginx/server/proxy/grafana_web.yml b/nginx/server/proxy/grafana_web.yml
index a1c7c49..66fa46b 100644
--- a/nginx/server/proxy/grafana_web.yml
+++ b/nginx/server/proxy/grafana_web.yml
@@ -1,18 +1,2 @@
-parameters:
- nginx:
- server:
- enabled: true
- site:
- nginx_proxy_grafana:
- enabled: true
- type: nginx_proxy
- name: grafana
- proxy:
- host: ${_param:stacklight_monitor_address}
- port: 3000
- protocol: http
- host:
- name: ${_param:cluster_public_host}
- port: 8084
- protocol: https
- ssl: ${_param:nginx_proxy_ssl}
+classes:
+- system.nginx.server.proxy.stacklight.grafana
diff --git a/nginx/server/proxy/kibana_web.yml b/nginx/server/proxy/kibana_web.yml
index 1120c9c..0f3f41e 100644
--- a/nginx/server/proxy/kibana_web.yml
+++ b/nginx/server/proxy/kibana_web.yml
@@ -1,18 +1,2 @@
-parameters:
- nginx:
- server:
- enabled: true
- site:
- nginx_proxy_kibana:
- enabled: true
- type: nginx_proxy
- name: kibana
- proxy:
- host: ${_param:stacklight_monitor_address}
- port: 5601
- protocol: http
- host:
- name: ${_param:cluster_public_host}
- port: 5601
- protocol: https
- ssl: ${_param:nginx_proxy_ssl}
+classes:
+- system.nginx.server.proxy.stacklight.kibana
diff --git a/nginx/server/proxy/nagios_web.yml b/nginx/server/proxy/nagios_web.yml
index 8b57929..919c74a 100644
--- a/nginx/server/proxy/nagios_web.yml
+++ b/nginx/server/proxy/nagios_web.yml
@@ -1,18 +1,2 @@
-parameters:
- nginx:
- server:
- enabled: true
- site:
- nginx_proxy_nagios:
- enabled: true
- type: nginx_proxy
- name: nagios
- proxy:
- host: ${_param:stacklight_monitor_address}
- port: 80
- protocol: http
- host:
- name: ${_param:cluster_public_host}
- port: 8001
- protocol: https
- ssl: ${_param:nginx_proxy_ssl}
+classes:
+- system.nginx.server.proxy.stacklight.nagios