From f8890dd7ef8751be105fd5417dea84ce8583b811 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Thu, 7 Jan 2021 12:15:12 +0100
Subject: [PATCH] =?UTF-8?q?README:=20Pr=C3=A1va=20proti=20zv=C4=9Bdav?=
 =?UTF-8?q?=C3=BDm=20kolemjdouc=C3=ADm,=20ale=20Nginx=20m=C3=A1=20vid?=
 =?UTF-8?q?=C4=9Bt=20socket?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index e81e344d..68049b28 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,7 @@
 
 	# Založit adresář pro instanci
 	mkdir /akce/mo/osmo-test
+	chmod 770 /akce/mo/osmo-test
 	setfacl -m u:mo-web:rwx -m g:mo:rwx /akce/mo/osmo-test
 	setfacl -d -m u:mo-web:rwx -m g:mo:rwx /akce/mo/osmo-test
 
@@ -41,6 +42,9 @@
 	cd src
 	bin/deploy
 
+	# Zpřístupnit socket Nginxu
+	setfacl -m u:www-data:x /akce/mo/osmo-test /akce/mo/osmo-test/var
+
 	# Inicializovat regiony v DB
 	# Obstarat si db/ruian/ a db/schools/parsed/ z jiné instance (nebo je znovu stáhnout)
 	. ../venv/bin/activate
-- 
GitLab