home-server/roles/privatebin/templates/conf.php.j2

51 lines
1.2 KiB
Django/Jinja

;<?php http_response_code(403); /*
; The home-server project produces a multi-purpose setup using Ansible.
; Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
; Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
; An explanation of each setting can be find online at https://github.com/PrivateBin/PrivateBin/wiki/Configuration.
[main]
discussion = {{privatebin_enable_discussion}}
opendiscussion = {{privatebin_open_discussion}}
password = {{privatebin_enable_passwords}}
fileupload = {{privatebin_enable_uploads}}
burnafterreadingselected = false
defaultformatter = "plaintext"
sizelimit = {{privatebin_bytes_limit}}
template = "bootstrap"
languageselection = false
zerobincompatibility = false
[expire]
default = "1week"
[expire_options]
5min = 300
10min = 600
1hour = 3600
1day = 86400
1week = 604800
1month = 2592000
1year = 31536000
[formatter_options]
plaintext = "Plain Text"
syntaxhighlighting = "Source Code"
markdown = "Markdown"
[traffic]
limit = 10
dir = "/var/lib/privatebin"
[purge]
limit = {{privatebin_purge_delay}}
batchsize = 10
dir = "/var/lib/privatebin"
[model]
class = Filesystem
[model_options]
dir = "/var/lib/privatebin"