aboutsummaryrefslogtreecommitdiff
path: root/config.def.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.mk')
-rw-r--r--config.def.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/config.def.mk b/config.def.mk
index b02f14f..28c435c 100644
--- a/config.def.mk
+++ b/config.def.mk
@@ -2,27 +2,26 @@
# paths
PREFIX = /usr/share/gpigeon
+WWWPREFIX = /var/www
COOKIES_DIR = $(PREFIX)/cookies
_GPG_HOMEDIR = $(PREFIX)/gnupg
LINK_TEMPLATE_PATH = $(PREFIX)/link-tmpl.cgi
-WWWPREFIX = /var/www
GPIGEON_PATH = $(WWWPREFIX)/cgi-bin/gpigeon.cgi
# system stuff
WEBUSER=www-data #it must match up with your nginx user. For ex. on arch it's 'http'
-# CGI tuning stuff
+# form customization stuff
MSG_FORM_CHAR_LIMIT = 3000
# argon2id hash. generated by genpass.pl if empty when running make
ARGON2ID_HASH =
-# gpg and email vars
+# email related
HAS_MAILSERVER = 0# choose 0 if you'll use an external mail server, 1 if local mail server installed.
-# you don't need to set the 3 last variables if you got a local mailserver.
-MYGPG_ID_0XLONG =# the 0xlong format of your gpg key. - required
MYMAIL_ADDR =# your mail address - required
MAILSENDER =# the mailer address that'll send you the encrypted mails - required
+# you don't need to set the 3 last variables if you got a local mailserver.
MAILSENDER_PW =# password for the mailer address
SMTP_DOMAIN =# smtp domain pour the mailer
SMTP_PORT =# smtp port for the mailer
@@ -30,4 +29,4 @@ SMTP_PORT =# smtp port for the mailer
#optional, domain to generate nginx config for
#and where to put the config
WWWDOMAIN=
-NGINXCONFDIR=/etc/nginx/sites-enabled
+SITESENABLED=/etc/nginx/sites-enabled