simplify setup

This commit is contained in:
Leon Morten Richter 2022-06-30 15:04:23 +02:00
parent 6a1e1432b2
commit 9e1541e7b6
No known key found for this signature in database
GPG key ID: 9903A6789FCE9468
6 changed files with 22 additions and 38 deletions

View file

View file

View file

@ -1,7 +1,6 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html index.htm;
listen [::]:80;
location / {
proxy_pass http://grafana:3000/;

View file

@ -1,22 +0,0 @@
server {
listen 80;
server_name 192.168.0.10;
# Your domain
return 302 https://192.168.0.10;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
include ssl/self-signed.conf;
# Your domain
server_name 192.168.0.10;
location / {
proxy_pass http://grafana:3000/;
}
}