about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/nginx.conf.j21
-rw-r--r--templates/wg.conf.j26
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2
index 1b7f18d..aee87da 100644
--- a/templates/nginx.conf.j2
+++ b/templates/nginx.conf.j2
@@ -30,6 +30,7 @@ server {
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
     proxy_set_header Host $http_host;
     proxy_set_header  X-Forwarded-Proto $scheme;
+    proxy_set_header  X-Scheme $scheme;
     proxy_redirect off;
     proxy_http_version 1.1;
 {% if server.websocket is defined and server.websocket %}
diff --git a/templates/wg.conf.j2 b/templates/wg.conf.j2
index 6a62c7f..6d358b8 100644
--- a/templates/wg.conf.j2
+++ b/templates/wg.conf.j2
@@ -14,3 +14,9 @@ PersistentKeepalive = 20
 PublicKey = pqSY7SCKuRkHBTMWVhYAASrx/A1HF8Nlb3emnO8WqAc=
 AllowedIPs = 10.0.27.3/32
 PersistentKeepalive = 20
+
+# spawarka 10.0.27.4
+[Peer]
+PublicKey = fd39gCTX7+hy6/lIAenhI1LVw6mCLWRSn0+6a1O+QCc=
+AllowedIPs = 10.0.27.4/32
+PersistentKeepalive = 20