Skip to content

Commit 8969cad

Browse files
author
Serghey Rodin
committed
Yakkety Yak configs
1 parent fa4b66f commit 8969cad

File tree

128 files changed

+6699
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+6699
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# It is split into several files forming the configuration hierarchy outlined
2+
# below, all located in the /etc/apache2/ directory:
3+
#
4+
# /etc/apache2/
5+
# |-- apache2.conf
6+
# | `-- ports.conf
7+
# |-- mods-enabled
8+
# | |-- *.load
9+
# | `-- *.conf
10+
# |-- conf.d
11+
# | `-- *
12+
13+
# Global configuration
14+
PidFile ${APACHE_PID_FILE}
15+
Timeout 30
16+
KeepAlive Off
17+
MaxKeepAliveRequests 100
18+
KeepAliveTimeout 10
19+
20+
<IfModule mpm_prefork_module>
21+
StartServers 8
22+
MinSpareServers 5
23+
MaxSpareServers 20
24+
ServerLimit 256
25+
MaxClients 200
26+
MaxRequestsPerChild 4000
27+
</IfModule>
28+
29+
<IfModule mpm_worker_module>
30+
StartServers 2
31+
MinSpareThreads 25
32+
MaxSpareThreads 75
33+
ThreadLimit 64
34+
ThreadsPerChild 25
35+
MaxClients 200
36+
MaxRequestsPerChild 4000
37+
</IfModule>
38+
39+
<IfModule mpm_event_module>
40+
StartServers 2
41+
MinSpareThreads 25
42+
MaxSpareThreads 75
43+
ThreadLimit 64
44+
ThreadsPerChild 25
45+
MaxClients 200
46+
MaxRequestsPerChild 4000
47+
</IfModule>
48+
49+
# These need to be set in /etc/apache2/envvars
50+
User ${APACHE_RUN_USER}
51+
Group ${APACHE_RUN_GROUP}
52+
#User www-data
53+
#Group www-data
54+
55+
AccessFileName .htaccess
56+
57+
<Files ~ "^\.ht">
58+
Order allow,deny
59+
Deny from all
60+
Satisfy all
61+
</Files>
62+
63+
DefaultType None
64+
HostnameLookups Off
65+
66+
ErrorLog ${APACHE_LOG_DIR}/error.log
67+
LogLevel warn
68+
69+
# Include module configuration:
70+
Include mods-enabled/*.load
71+
Include mods-enabled/*.conf
72+
73+
# Include list of ports to listen on and which to use for name based vhosts
74+
Include ports.conf
75+
76+
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
77+
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
78+
LogFormat "%h %l %u %t \"%r\" %>s %O" common
79+
LogFormat "%{Referer}i -> %U" referer
80+
LogFormat "%{User-agent}i" agent
81+
LogFormat "%b" bytes
82+
83+
Include conf.d/
84+
85+
# Include the virtual host configurations:
86+
#Include sites-enabled/
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Listen 127.0.0.1:8081
2+
<Location /server-status>
3+
SetHandler server-status
4+
Order deny,allow
5+
Deny from all
6+
Allow from 127.0.0.1
7+
Allow from all
8+
</Location>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// This is the primary configuration file for the BIND DNS server named.
2+
//
3+
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
4+
// structure of BIND configuration files in Debian, *BEFORE* you customize
5+
// this configuration file.
6+
//
7+
// If you are just adding zones, please do that in /etc/bind/named.conf.local
8+
9+
include "/etc/bind/named.conf.options";
10+
include "/etc/bind/named.conf.local";
11+
include "/etc/bind/named.conf.default-zones";
12+
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#Automatically Generated by clamav-base postinst
2+
#To reconfigure clamd run #dpkg-reconfigure clamav-base
3+
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
4+
LocalSocket /var/run/clamav/clamd.ctl
5+
FixStaleSocket true
6+
LocalSocketGroup clamav
7+
LocalSocketMode 666
8+
# TemporaryDirectory is not set to its default /tmp here to make overriding
9+
# the default with environment variables TMPDIR/TMP/TEMP possible
10+
User clamav
11+
AllowSupplementaryGroups true
12+
ScanMail true
13+
ScanArchive true
14+
ArchiveBlockEncrypted false
15+
MaxDirectoryRecursion 15
16+
FollowDirectorySymlinks false
17+
FollowFileSymlinks false
18+
ReadTimeout 180
19+
MaxThreads 12
20+
MaxConnectionQueueLength 15
21+
LogSyslog false
22+
LogFacility LOG_LOCAL6
23+
LogClean false
24+
LogVerbose true
25+
PidFile /var/run/clamav/clamd.pid
26+
DatabaseDirectory /var/lib/clamav
27+
SelfCheck 3600
28+
Foreground false
29+
Debug false
30+
ScanPE true
31+
ScanOLE2 true
32+
ScanHTML true
33+
DetectBrokenExecutables false
34+
ExitOnOOM false
35+
LeaveTemporaryFiles false
36+
AlgorithmicDetection true
37+
ScanELF true
38+
IdleTimeout 30
39+
PhishingSignatures true
40+
PhishingScanURLs true
41+
PhishingAlwaysBlockSSLMismatch false
42+
PhishingAlwaysBlockCloak false
43+
DetectPUA false
44+
ScanPartialMessages false
45+
HeuristicScanPrecedence false
46+
StructuredDataDetection false
47+
CommandReadTimeout 5
48+
SendBufTimeout 200
49+
MaxQueue 100
50+
ExtendedDetectionInfo true
51+
OLE2BlockMacros false
52+
StreamMaxLength 25M
53+
LogFile /var/log/clamav/clamav.log
54+
LogTime true
55+
LogFileUnlock false
56+
LogFileMaxSize 0
57+
Bytecode true
58+
BytecodeSecurity TrustSigned
59+
BytecodeTimeout 60000
60+
OfficialDatabaseOnly false
61+
CrossFilesystems true
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
-----BEGIN PGP PUBLIC KEY BLOCK-----
2+
Version: GnuPG v1.4.12 (GNU/Linux)
3+
4+
mQENBFJIGbEBCAC8SHOOFo7iDTbnC2GhNZ+uBGCh226Dn1QPoFZNFM/DNakHZ6rD
5+
G3wzr8++eKz4fJual/VLllE2N9XDPuxbozb3LLkcyY1WzJqtIXbXhFGQ/SuIeT+x
6+
QY90XU6t2Ckze2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FBRVM8xZpQd4iD19MWI1ABEBAAGJAR8EGAECAAkFAlJIGbECGwwA
23+
CgkQQsWyEwofdxQ7tQgAhB0FwTs7L8Qr63DHC2yAnXVxgtTAY1/36CccNXVculyR
24+
+EkLcwahms9AKhz7eQb+Mud+5vH0GRohLp2npgO38CjVUfIP5d+Y6dsthmrkF6p8
25+
XdV1dVK9vWX+i/YZSw/Mded30Cq4P2Yhq9EaemMT0rtli8lz2NnkZ9dFJZk1lzJC
26+
CZmRpbjSNWqRU4f7qyh21lYk/OC/0XE8fh8CaO23TZ+6gBionoCztwb7NyC9OArN
27+
qYlNnbmh9iNqdblykPS3bkjf34n2xyMgnIehNrM89tk8PY4UfNPhgT1TMD9W3Svq
28+
ynNZvLuF/FIDwDeC1qcfjGbfDn9fXO/lMIIRooQYKQ==
29+
=J2HJ
30+
-----END PGP PUBLIC KEY BLOCK-----
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
disable_plaintext_auth = no
2+
auth_verbose = yes
3+
auth_mechanisms = plain login
4+
!include auth-passwdfile.conf.ext
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
log_path = /var/log/dovecot.log
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mail_privileged_group = mail
2+
mail_access_groups = mail
3+
mail_location = maildir:%h/mail/%d/%n
4+
pop3_uidl_format = %08Xu%08Xv
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
service imap-login {
2+
inet_listener imap {
3+
}
4+
inet_listener imaps {
5+
}
6+
}
7+
8+
service pop3-login {
9+
inet_listener pop3 {
10+
}
11+
inet_listener pop3s {
12+
}
13+
}
14+
15+
16+
service imap {
17+
}
18+
19+
service pop3 {
20+
}
21+
22+
service auth {
23+
unix_listener auth-client {
24+
group = mail
25+
mode = 0660
26+
user = dovecot
27+
}
28+
user = dovecot
29+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ssl = yes
2+
ssl_protocols = !SSLv2 !SSLv3
3+
4+
ssl_cert = </usr/local/vesta/ssl/certificate.crt
5+
ssl_key = </usr/local/vesta/ssl/certificate.key

0 commit comments

Comments
 (0)