mirror of
https://github.com/M0r13n/mikrotik_monitoring.git
synced 2025-12-06 18:19:30 +00:00
adds option to add https
This commit is contained in:
parent
9a9e21451b
commit
6a1e1432b2
5 changed files with 71 additions and 4 deletions
22
nginx/nginx.conf.https
Normal file
22
nginx/nginx.conf.https
Normal 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/;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue