forked from exitcas/pbpush
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.config.sample
More file actions
38 lines (29 loc) · 1020 Bytes
/
.config.sample
File metadata and controls
38 lines (29 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
; phpub2twtxt
; Copy this file into a .config file and edit the following settings
[main_settings]
; Enable to display PHP errors
; true or false
debug_mode = false
; Time to wait before reloading URLs
cache_refresh_time = 15
; Max execution time to avoid running to the infinite
max_execution_time = 300
; Check that your current user has permissions for this file
; Check also the user owner is correct, www-data for instance
; TODO: Implement a way to know we have access to this file
; since there are many different conditions for not having
; access.
txt_file_path = "/var/www/html/twtxt.txt"
; Full URL for your public twtxt.txt file
public_txt_url = "https://eapl.mx/twtxt.txt"
; Check available timezones here:
; https://www.php.net/manual/en/timezones.php
timezone = "UTC"
twts_per_page = 50
[security]
; Generate it with the TOTP module
totp_digits = 10
totp_secret = ""
; It's recommended that your site is hosted on HTTPS
; In case it's in HTTP (not secure), set this to false
secure_cookies = true