Update httpd.conf

This commit is contained in:
OSPanel 2024-04-23 19:56:15 +03:00
parent f4c4a28a4e
commit 596a8cf412
7 changed files with 487 additions and 53 deletions

View file

@ -504,7 +504,7 @@ AddCharset shift_jis .shift_jis .sjis
# Virtual Host Macros
# -----------------------------------------------------------------------------------
<Macro DefaultHost $ip>
<Macro Default_Host $ip>
<VirtualHost $ip>
ServerName default
<IfModule http2_module>
@ -538,7 +538,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro DefaultSSLHost $ip $ssl_cert_file $ssl_key_file>
<Macro Default_SSL_Host $ip $ssl_cert_file $ssl_key_file>
<IfModule ssl_module>
<VirtualHost $ip>
ServerName default
@ -577,7 +577,34 @@ AddCharset shift_jis .shift_jis .sjis
</IfModule>
</Macro>
<Macro Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<Macro Host $host $ip $aliases $public_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
<IfModule http2_module>
Protocols h2c http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</Macro>
<Macro CGI_Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
@ -610,7 +637,40 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro SSLHost $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<Macro SSL_Host $host $ip $aliases $public_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
SSLEngine on
SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file"
#Header always set Strict-Transport-Security "max-age=94608000"
<IfModule http2_module>
Protocols h2 http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</IfModule>
</Macro>
<Macro SSL_CGI_Host $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
@ -655,7 +715,9 @@ AddCharset shift_jis .shift_jis .sjis
{apache_hosts}
UndefMacro DefaultHost
UndefMacro DefaultSSLHost
UndefMacro Default_Host
UndefMacro Default_SSL_Host
UndefMacro Host
UndefMacro SSLHost
UndefMacro CGI_Host
UndefMacro SSL_Host
UndefMacro SSL_CGI_Host

View file

@ -504,7 +504,7 @@ AddCharset shift_jis .shift_jis .sjis
# Virtual Host Macros
# -----------------------------------------------------------------------------------
<Macro DefaultHost $ip>
<Macro Default_Host $ip>
<VirtualHost $ip>
ServerName default
<IfModule http2_module>
@ -538,7 +538,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro DefaultSSLHost $ip $ssl_cert_file $ssl_key_file>
<Macro Default_SSL_Host $ip $ssl_cert_file $ssl_key_file>
<IfModule ssl_module>
<VirtualHost $ip>
ServerName default
@ -577,7 +577,34 @@ AddCharset shift_jis .shift_jis .sjis
</IfModule>
</Macro>
<Macro Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<Macro Host $host $ip $aliases $public_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
<IfModule http2_module>
Protocols h2c http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</Macro>
<Macro CGI_Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
@ -610,7 +637,40 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro SSLHost $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<Macro SSL_Host $host $ip $aliases $public_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
SSLEngine on
SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file"
#Header always set Strict-Transport-Security "max-age=94608000"
<IfModule http2_module>
Protocols h2 http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</IfModule>
</Macro>
<Macro SSL_CGI_Host $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
@ -655,7 +715,9 @@ AddCharset shift_jis .shift_jis .sjis
{apache_hosts}
UndefMacro DefaultHost
UndefMacro DefaultSSLHost
UndefMacro Default_Host
UndefMacro Default_SSL_Host
UndefMacro Host
UndefMacro SSLHost
UndefMacro CGI_Host
UndefMacro SSL_Host
UndefMacro SSL_CGI_Host

View file

@ -504,7 +504,7 @@ AddCharset shift_jis .shift_jis .sjis
# Virtual Host Macros
# -----------------------------------------------------------------------------------
<Macro DefaultHost $ip>
<Macro Default_Host $ip>
<VirtualHost $ip>
ServerName default
<IfModule http2_module>
@ -538,7 +538,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro DefaultSSLHost $ip $ssl_cert_file $ssl_key_file>
<Macro Default_SSL_Host $ip $ssl_cert_file $ssl_key_file>
<IfModule ssl_module>
<VirtualHost $ip>
ServerName default
@ -577,7 +577,34 @@ AddCharset shift_jis .shift_jis .sjis
</IfModule>
</Macro>
<Macro Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<Macro Host $host $ip $aliases $public_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
<IfModule http2_module>
Protocols h2c http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</Macro>
<Macro CGI_Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
@ -610,7 +637,40 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro SSLHost $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<Macro SSL_Host $host $ip $aliases $public_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
SSLEngine on
SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file"
#Header always set Strict-Transport-Security "max-age=94608000"
<IfModule http2_module>
Protocols h2 http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</IfModule>
</Macro>
<Macro SSL_CGI_Host $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
@ -655,7 +715,9 @@ AddCharset shift_jis .shift_jis .sjis
{apache_hosts}
UndefMacro DefaultHost
UndefMacro DefaultSSLHost
UndefMacro Default_Host
UndefMacro Default_SSL_Host
UndefMacro Host
UndefMacro SSLHost
UndefMacro CGI_Host
UndefMacro SSL_Host
UndefMacro SSL_CGI_Host

View file

@ -504,7 +504,7 @@ AddCharset shift_jis .shift_jis .sjis
# Virtual Host Macros
# -----------------------------------------------------------------------------------
<Macro DefaultHost $ip>
<Macro Default_Host $ip>
<VirtualHost $ip>
ServerName default
<IfModule http2_module>
@ -538,7 +538,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro DefaultSSLHost $ip $ssl_cert_file $ssl_key_file>
<Macro Default_SSL_Host $ip $ssl_cert_file $ssl_key_file>
<IfModule ssl_module>
<VirtualHost $ip>
ServerName default
@ -577,7 +577,7 @@ AddCharset shift_jis .shift_jis .sjis
</IfModule>
</Macro>
<Macro Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<Macro Host $host $ip $aliases $public_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
@ -585,10 +585,37 @@ AddCharset shift_jis .shift_jis .sjis
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS text/plain text/html text/css text/xml text/javascript application/javascript application/json text/json
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE text/plain text/html text/css text/xml text/javascript application/javascript application/json text/json
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
<IfModule http2_module>
Protocols h2c http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</Macro>
<Macro CGI_Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
@ -610,7 +637,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro SSLHost $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<Macro SSL_Host $host $ip $aliases $public_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
@ -619,10 +646,43 @@ AddCharset shift_jis .shift_jis .sjis
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS text/plain text/html text/css text/xml text/javascript application/javascript application/json text/json
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE text/plain text/html text/css text/xml text/javascript application/javascript application/json text/json
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
SSLEngine on
SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file"
#Header always set Strict-Transport-Security "max-age=94608000"
<IfModule http2_module>
Protocols h2 http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</IfModule>
</Macro>
<Macro SSL_CGI_Host $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
@ -655,7 +715,9 @@ AddCharset shift_jis .shift_jis .sjis
{apache_hosts}
UndefMacro DefaultHost
UndefMacro DefaultSSLHost
UndefMacro Default_Host
UndefMacro Default_SSL_Host
UndefMacro Host
UndefMacro SSLHost
UndefMacro CGI_Host
UndefMacro SSL_Host
UndefMacro SSL_CGI_Host

View file

@ -504,7 +504,7 @@ AddCharset shift_jis .shift_jis .sjis
# Virtual Host Macros
# -----------------------------------------------------------------------------------
<Macro DefaultHost $ip>
<Macro Default_Host $ip>
<VirtualHost $ip>
ServerName default
<IfModule http2_module>
@ -538,7 +538,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro DefaultSSLHost $ip $ssl_cert_file $ssl_key_file>
<Macro Default_SSL_Host $ip $ssl_cert_file $ssl_key_file>
<IfModule ssl_module>
<VirtualHost $ip>
ServerName default
@ -577,7 +577,34 @@ AddCharset shift_jis .shift_jis .sjis
</IfModule>
</Macro>
<Macro Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<Macro Host $host $ip $aliases $public_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
<IfModule http2_module>
Protocols h2c http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</Macro>
<Macro CGI_Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
@ -610,7 +637,40 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro SSLHost $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<Macro SSL_Host $host $ip $aliases $public_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
SSLEngine on
SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file"
#Header always set Strict-Transport-Security "max-age=94608000"
<IfModule http2_module>
Protocols h2 http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</IfModule>
</Macro>
<Macro SSL_CGI_Host $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
@ -655,7 +715,9 @@ AddCharset shift_jis .shift_jis .sjis
{apache_hosts}
UndefMacro DefaultHost
UndefMacro DefaultSSLHost
UndefMacro Default_Host
UndefMacro Default_SSL_Host
UndefMacro Host
UndefMacro SSLHost
UndefMacro CGI_Host
UndefMacro SSL_Host
UndefMacro SSL_CGI_Host

View file

@ -504,7 +504,7 @@ AddCharset shift_jis .shift_jis .sjis
# Virtual Host Macros
# -----------------------------------------------------------------------------------
<Macro DefaultHost $ip>
<Macro Default_Host $ip>
<VirtualHost $ip>
ServerName default
<IfModule http2_module>
@ -538,7 +538,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro DefaultSSLHost $ip $ssl_cert_file $ssl_key_file>
<Macro Default_SSL_Host $ip $ssl_cert_file $ssl_key_file>
<IfModule ssl_module>
<VirtualHost $ip>
ServerName default
@ -577,7 +577,34 @@ AddCharset shift_jis .shift_jis .sjis
</IfModule>
</Macro>
<Macro Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<Macro Host $host $ip $aliases $public_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
<IfModule http2_module>
Protocols h2c http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</Macro>
<Macro CGI_Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
@ -610,7 +637,40 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro SSLHost $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<Macro SSL_Host $host $ip $aliases $public_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
SSLEngine on
SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file"
#Header always set Strict-Transport-Security "max-age=94608000"
<IfModule http2_module>
Protocols h2 http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</IfModule>
</Macro>
<Macro SSL_CGI_Host $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
@ -655,7 +715,9 @@ AddCharset shift_jis .shift_jis .sjis
{apache_hosts}
UndefMacro DefaultHost
UndefMacro DefaultSSLHost
UndefMacro Default_Host
UndefMacro Default_SSL_Host
UndefMacro Host
UndefMacro SSLHost
UndefMacro CGI_Host
UndefMacro SSL_Host
UndefMacro SSL_CGI_Host

View file

@ -504,7 +504,7 @@ AddCharset shift_jis .shift_jis .sjis
# Virtual Host Macros
# -----------------------------------------------------------------------------------
<Macro DefaultHost $ip>
<Macro Default_Host $ip>
<VirtualHost $ip>
ServerName default
<IfModule http2_module>
@ -538,7 +538,7 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro DefaultSSLHost $ip $ssl_cert_file $ssl_key_file>
<Macro Default_SSL_Host $ip $ssl_cert_file $ssl_key_file>
<IfModule ssl_module>
<VirtualHost $ip>
ServerName default
@ -577,7 +577,34 @@ AddCharset shift_jis .shift_jis .sjis
</IfModule>
</Macro>
<Macro Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<Macro Host $host $ip $aliases $public_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
<IfModule http2_module>
Protocols h2c http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</Macro>
<Macro CGI_Host $host $ip $aliases $public_dir $cgi_dir $log_format>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
@ -610,7 +637,40 @@ AddCharset shift_jis .shift_jis .sjis
</VirtualHost>
</Macro>
<Macro SSLHost $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<Macro SSL_Host $host $ip $aliases $public_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
AllowOverride All
Options +Indexes +IncludesNoExec +Includes +ExecCGI
Require all granted
<IfModule filter_module>
<IfModule brotli_module>
AddOutputFilterByType BROTLI_COMPRESS application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
<IfModule deflate_module>
AddOutputFilterByType DEFLATE application/atom+xml application/json text/json text/html text/xml text/javascript application/ld+json application/rss+xml application/geo+json application/xml application/rdf+xml application/javascript application/wasm application/rtf application/pdf application/xhtml+xml application/xslt+xml application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject font/woff font/woff2 font/ttf font/collection font/otf image/vnd.microsoft.icon image/x-icon image/svg+xml text/css text/csv text/plain text/markdown text/calendar text/vcard text/vtt text/cache-manifest text/vnd.rim.location.xloc text/x-component
</IfModule>
</IfModule>
</Directory>
ServerName $host
ServerAlias $aliases
DocumentRoot "$public_dir"
SSLEngine on
SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file"
#Header always set Strict-Transport-Security "max-age=94608000"
<IfModule http2_module>
Protocols h2 http/1.1
</IfModule>
CustomLog "{root_dir}/logs/domains/$host_apache_access.log" $log_format
ErrorLog "{root_dir}/logs/domains/$host_apache_error.log"
php_value error_log "{root_dir}/logs/domains/$host_php_error.log"
</VirtualHost>
</IfModule>
</Macro>
<Macro SSL_CGI_Host $host $ip $aliases $public_dir $cgi_dir $ssl_cert_file $ssl_key_file $log_format>
<IfModule ssl_module>
<VirtualHost $ip>
<Directory "$public_dir">
@ -655,7 +715,9 @@ AddCharset shift_jis .shift_jis .sjis
{apache_hosts}
UndefMacro DefaultHost
UndefMacro DefaultSSLHost
UndefMacro Default_Host
UndefMacro Default_SSL_Host
UndefMacro Host
UndefMacro SSLHost
UndefMacro CGI_Host
UndefMacro SSL_Host
UndefMacro SSL_CGI_Host