aboutsummaryrefslogtreecommitdiff
path: root/config.def.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.mk')
-rw-r--r--config.def.mk17
1 files changed, 11 insertions, 6 deletions
diff --git a/config.def.mk b/config.def.mk
index 28c435c..8af48d7 100644
--- a/config.def.mk
+++ b/config.def.mk
@@ -1,18 +1,23 @@
# Customize below to fit your system
# paths
-PREFIX = /usr/share/gpigeon
+PREFIX = /usr/share
WWWPREFIX = /var/www
-COOKIES_DIR = $(PREFIX)/cookies
-_GPG_HOMEDIR = $(PREFIX)/gnupg
-LINK_TEMPLATE_PATH = $(PREFIX)/link-tmpl.cgi
-GPIGEON_PATH = $(WWWPREFIX)/cgi-bin/gpigeon.cgi
+GPIGEON_DIR = $(PREFIX)/gpigeon
+WWWDIR = $(WWWPREFIX)/gpigeon
+COOKIES_DIR = $(GPIGEON_DIR)/cookies
+UPLOAD_TMPDIR = $(GPIGEON_DIR)/tmp
+LINK_TEMPLATE_PATH = $(GPIGEON_DIR)/link-tmpl.cgi
+_GPG_HOMEDIR = $(GPIGEON_DIR)/gnupg
+GPIGEON_PATH = $(WWWDIR)/cgi-bin/gpigeon.cgi
# system stuff
-WEBUSER=www-data #it must match up with your nginx user. For ex. on arch it's 'http'
+WWWUSER=www-data #it must match up with your nginx user. For ex. on arch it's 'http'
+WWWGROUP=www-data # in general same as WWWUSER
# form customization stuff
MSG_FORM_CHAR_LIMIT = 3000
+MAX_MB_LIMIT = 100
# argon2id hash. generated by genpass.pl if empty when running make
ARGON2ID_HASH =