Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
index cec2270..c71d4dc 100644
--- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
+++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
@@ -1,69 +1,74 @@
# -------------------------------------------------------------
# Webserver
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Site: grafana.nasqueron.org
# License: Trivial work, not eligible to copyright
# Source file: roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# -------------------------------------------------------------
# Back-end
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
upstream grafana {
server unix:/var/run/web/grafana/grafana.sock;
}
# -------------------------------------------------------------
# grafana.nasqueron.org configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
server {
listen 80;
listen [::]:80;
server_name grafana.nasqueron.org;
return 301 https://grafana.nasqueron.org$request_uri;
}
server {
server_name grafana.nasqueron.org;
include includes/tls;
ssl_certificate /usr/local/etc/letsencrypt/live/grafana.nasqueron.org/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/grafana.nasqueron.org/privkey.pem;
error_log /var/log/www/nasqueron.org/grafana-error.log;
access_log /var/log/www/nasqueron.org/grafana-access.log;
include includes/letsencrypt;
location /public {
alias /usr/local/share/grafana/public;
}
location /public/plugins {
alias /var/lib/grafana/plugins;
}
+ location /public-dashboards {
+ proxy_pass http://grafana;
+ include includes/proxy;
+ }
+
location / {
proxy_pass http://grafana;
include includes/proxy;
}
location /api/live/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_pass http://grafana;
}
}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Sep 15, 08:34 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2983920
Default Alt Text
(2 KB)

Event Timeline