adds option to add https

This commit is contained in:
Leon Morten Richter 2022-06-30 14:42:47 +02:00
parent 9a9e21451b
commit 6a1e1432b2
No known key found for this signature in database
GPG key ID: 9903A6789FCE9468
5 changed files with 71 additions and 4 deletions

22
nginx/nginx.conf.https Normal file
View file

@ -0,0 +1,22 @@
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/;
}
}