瀏覽代碼

Updated configuration docs with cert_key and cert_file info, Closes #1722

Torkel Ödegaard 10 年之前
父節點
當前提交
00a713c42e
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      docs/sources/installation/configuration.md

+ 11 - 0
docs/sources/installation/configuration.md

@@ -53,6 +53,11 @@ Or redirect port 80 to the grafana port using:
 $ sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3000
 $ sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3000
 ```
 ```
 
 
+Another way is put nginx or apache infront of Grafana and have them proxy requests to Grafana.
+
+### protocol
+`http` or `https`
+
 ### domain
 ### domain
 This setting is only used in as a part of the root_url setting (see below). Important if you
 This setting is only used in as a part of the root_url setting (see below). Important if you
 use github or google oauth.
 use github or google oauth.
@@ -68,6 +73,12 @@ google or github oauth authentication (for the callback url to be correct).
 The path to the directory where the frontend files (html & js & css). Default to `public` which is
 The path to the directory where the frontend files (html & js & css). Default to `public` which is
 why the Grafana binary needs to be executed with working directory set to the installation path.
 why the Grafana binary needs to be executed with working directory set to the installation path.
 
 
+### cert_file
+Path to cert file (if protocol is https)
+
+### cert_key
+Path to cert key file (if protocol is https)
+
 <hr>
 <hr>
 
 
 <hr>
 <hr>