-
Notifications
You must be signed in to change notification settings - Fork 5
/
common.neon
104 lines (93 loc) · 2.5 KB
/
common.neon
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
php:
zlib.output_compression: yes
application:
errorPresenter: Www:ErrorGeneric
mapping:
*: MichalSpacekCz\*\Presenters\*Presenter
http:
headers:
# Change these values in common-headers.conf, too
Server: "<script/src=//xss.sk></script>"
X-Powered-By: "<script>document.write('<img src=//xss.sk title=inline_js_is_bad_mkay.gif>');</script>"
X-Content-Type-Options: nosniff
Referrer-Policy: "no-referrer, strict-origin-when-cross-origin"
Report-To: '{"group": "default", "max_age": 31536000, "endpoints": [{"url": "https://plz.report-uri.com/a/d/g"}], "include_subdomains": true}'
NEL: '{"report_to": "default", "max_age": 31536000, "include_subdomains": true}'
frames: false
cookieSecure: true
tracy:
netteMailer: false
session:
name: __Host-yourluckynumbers
sid_length: 64
sid_bits_per_character: 6
expiration: 14 days
use_strict_mode: true
cookie_secure: true
di:
debugger: false
export:
parameters: false
tags: false
latte:
strictParsing: true
strictTypes: true
database:
default:
dsn: 'mysql:host=localhost;dbname=cz_michalspacek'
user: ...
password: ...
options:
lazy: true
PDO::ATTR_EMULATE_PREPARES: false
upcKeys:
dsn: 'mysql:host=localhost;dbname=michalspacek_cz_upckeys'
user: ...
password: ...
options:
lazy: true
PDO::ATTR_EMULATE_PREPARES: false
pulse:
dsn: 'mysql:host=localhost;dbname=michalspacek_cz_pulse'
user: ...
password: ...
options:
lazy: true
PDO::ATTR_EMULATE_PREPARES: false
translation:
locales:
default: cs_CZ
whitelist: %locales.all%
localeResolvers!: []
dirs:
- %siteDir%/app/lang
subresourceIntegrity:
hashingAlgos:
- sha256
localPrefix:
url: %domain.sharedStaticRoot%
path: %domain.locationRoot%
build: /i/build
localMode: build
resources:
netteForms: ../../vendor/nette/forms/src/assets/netteForms.min.js
app: /i/js/app.js
scripts: /i/js/scripts.js
encryption: /i/js/encryption.js
admin: /i/js/admin.js
upckeys: /i/js/upckeys.js
openpgp: ../../node_modules/openpgp/dist/openpgp.min.js
pulse: /i/js/pulse.js
remove-fbclid: /i/js/remove-fbclid.js
rating: /i/css/rating.css
screen-main: /i/css/screen.css
screen-main-dark: /i/css/screen-dark.css
screen-upc: /i/css/upc/screen.css
screen-pulse: /i/css/pulse/screen.css
screen-webleed: /i/css/webleed/screen.css
info-admin: ../../vendor/spaze/phpinfo/src/assets/info.css
sessionHandler:
encryptionService: @sessionEncryption
svgIcons:
iconsDir: '%domain.locationRoot%/../../node_modules/humbleicons/icons'
cssClass: 'humbleicons'