about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel@dybiec.info>2021-02-10 23:14:53 +0000
committerPaweł Dybiec <pawel@dybiec.info>2021-02-10 23:14:53 +0000
commit2f27dab991edc058b4850c5a1596f895e1587936 (patch)
treebc3162edb76481d242e6b06bdc0f018c5970bb65
parentChange cs to old algorithms (diff)
Add missing stuff in headers, add new vpn client
-rw-r--r--base_apps.yml1
-rw-r--r--docker.yml1
-rw-r--r--domains.yml2
-rw-r--r--hosts2
-rw-r--r--templates/nginx.conf.j21
-rw-r--r--templates/wg.conf.j26
6 files changed, 10 insertions, 3 deletions
diff --git a/base_apps.yml b/base_apps.yml
index 877210c..7acd2b5 100644
--- a/base_apps.yml
+++ b/base_apps.yml
@@ -41,7 +41,6 @@
       executable: pip3
       name:
         - docker
-        - docker-py
         - docker-compose
 
   - name: Enable services
diff --git a/docker.yml b/docker.yml
index a8379ef..93c5eb8 100644
--- a/docker.yml
+++ b/docker.yml
@@ -76,7 +76,6 @@
     docker_compose:
       project_name: gitea
       pull: yes
-      restarted: true
       definition:
         version: '2'
         volumes:
diff --git a/domains.yml b/domains.yml
index 98ee92d..00b491e 100644
--- a/domains.yml
+++ b/domains.yml
@@ -19,6 +19,8 @@ domains:
       x-moominB: "⠰⢍⢒⢄⠀⠀⠀⠀⢸⢳⢆⠀⠀⠀⠰⡖⠋⠁⠀⠀⠀⠀⠀"
       x-moominC: "⠀⠳⠴⣙⢄⠀⢀⡠⣣⠃⠈⠑⢤⡄⠀⡸⠂⠀⠀⠀⠀⠀⠀"
       x-moominD: "⠀⠀⠀⠀⠑⠋⠓⠊⠁⠀⠀⠀⠓⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀"
+      x-pronouns: "He/Him"
+      strict-transport-security: "max-age=31536000; includeSubDomains"
   git:
     name: "git.dybiec.info"
     http_redirect: true
diff --git a/hosts b/hosts
index b5dfc98..1fbcec2 100644
--- a/hosts
+++ b/hosts
@@ -1,4 +1,4 @@
 [tamriel]
-new.dybiec.info
+true.dybiec.info
 [tamriel:vars]
 ansible_python_interpreter=/usr/bin/python3
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