-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env (example)
70 lines (51 loc) · 1.32 KB
/
.env (example)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Full url connect of database mongodb
DB_CONFIG=mongodb+srv://Blog:[email protected]/Blog?retryWrites=true&w=majority
# JWT Secret default rand
JWT_SECRET=Passexamle
TokenExpirationTimeInMinutes=20160
# Database name
DefaultDatabase=Blog
# Url your site
Siteurl=http://localhost:8080/
# Url your second site, This is useful when you have two separate backend.
SecondSite=https://example.com
# Url your site
Cross=*
# Enable Critical report error logs
LogErr=false
# Lisent
Port=:8080
# SMTP credencials
SMTPHost=example.example.com
SMTPport=587
SMTPPassword=Passexample
TestSMTP=false
UseSMTP=false
# Redis credencials
RedisAddr=example.com:10359
RedisPassword=example
# SSL
PemFile=selfsigned.crt
KeyFile=selfsigned.key
# ReleaseMode
ginReleaseMode=false
# Name of the header that will be used to obtain the IP, if you are not going to use any, leave it empty
UseProxy=false
IpaddressByHeader=CF-Connecting-IP
# recaptcha Secret
Rsecret=
# Enable the use of pages in the backend
Pages=false
# Content Security Policy (CSP)
ContentSecurityPolicy=*
# Site Details
SiteMetaTitle=Site Title
SiteMetaDescription=Site Description
# Enable storage path
Storage=true
# Google site verification key
GoogleSite_Verification=
# enable err panic
PreferErrPanic=flase