remove pylibmc from requirements as it is not used yet 0.1.0
authorymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 22:04:27 +0100
changeset 186 3458941945e0
parent 185 c8678091a837
child 187 7c745d8cb321
remove pylibmc from requirements as it is not used yet
.hgignore
deploy/templates/nginx.static.conf.j2
src/requirements/prod.txt
--- a/.hgignore	Fri Nov 30 14:49:30 2018 +0100
+++ b/.hgignore	Fri Nov 30 22:04:27 2018 +0100
@@ -45,6 +45,7 @@
 ^deploy/.venv
 ^deploy/.vagrant
 ^deploy/group_vars/.*\.yml$
+^deploy/host_vars
 ^deploy/hosts/hosts\.prod$
 ^deploy/hosts/hosts\.test$
 ^deploy/.*\.retry$
--- a/deploy/templates/nginx.static.conf.j2	Fri Nov 30 14:49:30 2018 +0100
+++ b/deploy/templates/nginx.static.conf.j2	Fri Nov 30 22:04:27 2018 +0100
@@ -16,6 +16,11 @@
     root {{remote_static_path}}/;
     index index.html index.htm;
 
+    location /.well-known/acme-challenge {
+        alias /var/lib/letsencrypt/.well-known/acme-challenge;
+        default_type "text/plain";
+        try_files $uri =404;
+    }
 
     location {{backend_url}}/api {
         uwsgi_pass  {{backend_upstream_name}};
--- a/src/requirements/prod.txt	Fri Nov 30 14:49:30 2018 +0100
+++ b/src/requirements/prod.txt	Fri Nov 30 22:04:27 2018 +0100
@@ -1,4 +1,3 @@
 -r base.txt
-pylibmc
 uWSGI
 psycopg2