mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
New vesta installer
This commit is contained in:
parent
dce52823fb
commit
e892898874
1545 changed files with 59733 additions and 3626 deletions
58
install/rhel/7/httpd/httpd.conf
Normal file
58
install/rhel/7/httpd/httpd.conf
Normal file
|
@ -0,0 +1,58 @@
|
|||
ServerRoot "/etc/httpd"
|
||||
Include conf.modules.d/*.conf
|
||||
User apache
|
||||
Group apache
|
||||
ServerAdmin root@localhost
|
||||
|
||||
<Directory />
|
||||
AllowOverride none
|
||||
</Directory>
|
||||
|
||||
DocumentRoot "/var/www/html"
|
||||
<Directory "/var/www">
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory "/var/www/html">
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
DirectoryIndex index.php index.html
|
||||
|
||||
<Files ".ht*">
|
||||
Require all denied
|
||||
</Files>
|
||||
|
||||
ErrorLog "logs/error_log"
|
||||
LogLevel warn
|
||||
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %b" common
|
||||
LogFormat "%b" bytes
|
||||
CustomLog "logs/access_log" combined
|
||||
|
||||
TypesConfig /etc/mime.types
|
||||
AddType application/x-compress .Z
|
||||
AddType application/x-gzip .gz .tgz
|
||||
AddType text/html .shtml
|
||||
AddOutputFilter INCLUDES .shtml
|
||||
#AddHandler cgi-script .cgi
|
||||
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
<IfModule mime_magic_module>
|
||||
MIMEMagicFile conf/magic
|
||||
</IfModule>
|
||||
|
||||
EnableSendfile on
|
||||
|
||||
<IfModule remoteip_module>
|
||||
RemoteIPHeader X-Real-IP
|
||||
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
||||
LogFormat "%a %l %u %t \"%r\" %>s %b" common
|
||||
</IfModule>
|
||||
|
||||
IncludeOptional conf.d/*.conf
|
8
install/rhel/7/httpd/ruid2.conf
Normal file
8
install/rhel/7/httpd/ruid2.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
LoadModule ruid2_module modules/mod_ruid2.so
|
||||
|
||||
<IfModule mod_ruid2.c>
|
||||
RMode config
|
||||
RDefaultUidGid apache apache
|
||||
RUidGid apache apache
|
||||
RGroups apache
|
||||
</IfModule>
|
6
install/rhel/7/httpd/ssl.conf
Normal file
6
install/rhel/7/httpd/ssl.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
|
||||
SSLSessionCache shmcb:/run/httpd/sslcache(512000)
|
||||
SSLSessionCacheTimeout 300
|
||||
SSLRandomSeed startup file:/dev/urandom 256
|
||||
SSLRandomSeed connect builtin
|
||||
SSLCryptoDevice builtin
|
7
install/rhel/7/httpd/status.conf
Normal file
7
install/rhel/7/httpd/status.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
Listen 127.0.0.1:8081
|
||||
<Location /server-status>
|
||||
SetHandler server-status
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
</Location>
|
Loading…
Add table
Add a link
Reference in a new issue