mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-20 17:33:05 +00:00
Update vhost-gen templates
This commit is contained in:
parent
91ba18f3bd
commit
42383489bd
@ -51,6 +51,8 @@ vhost: |
|
||||
CustomLog "__ACCESS_LOG__" combined
|
||||
ErrorLog "__ERROR_LOG__"
|
||||
|
||||
__REDIRECT__
|
||||
__SSL__
|
||||
__VHOST_DOCROOT__
|
||||
__VHOST_RPROXY__
|
||||
__PHP_FPM__
|
||||
@ -102,6 +104,19 @@ vhost_type:
|
||||
###
|
||||
features:
|
||||
|
||||
# SSL Configuration
|
||||
ssl: |
|
||||
SSLEngine on
|
||||
SSLCertificateFile "__SSL_PATH_CRT__"
|
||||
SSLCertificateKeyFile "__SSL_PATH_KEY__"
|
||||
SSLProtocol __SSL_PROTOCOLS__
|
||||
SSLHonorCipherOrder __SSL_HONOR_CIPHER_ORDER__
|
||||
SSLCipherSuite __SSL_CIPHERS__
|
||||
|
||||
# Redirect to SSL directive
|
||||
redirect: |
|
||||
RedirectMatch (.*) https://__VHOST_NAME__:__SSL_PORT__$1
|
||||
|
||||
# PHP-FPM will not be applied to a reverse proxy!
|
||||
php_fpm: |
|
||||
# PHP-FPM Definition
|
||||
|
@ -51,6 +51,8 @@ vhost: |
|
||||
CustomLog "__ACCESS_LOG__" combined
|
||||
ErrorLog "__ERROR_LOG__"
|
||||
|
||||
__REDIRECT__
|
||||
__SSL__
|
||||
__VHOST_DOCROOT__
|
||||
__VHOST_RPROXY__
|
||||
__PHP_FPM__
|
||||
@ -103,6 +105,19 @@ vhost_type:
|
||||
###
|
||||
features:
|
||||
|
||||
# SSL Configuration
|
||||
ssl: |
|
||||
SSLEngine on
|
||||
SSLCertificateFile "__SSL_PATH_CRT__"
|
||||
SSLCertificateKeyFile "__SSL_PATH_KEY__"
|
||||
SSLProtocol __SSL_PROTOCOLS__
|
||||
SSLHonorCipherOrder __SSL_HONOR_CIPHER_ORDER__
|
||||
SSLCipherSuite __SSL_CIPHERS__
|
||||
|
||||
# Redirect to SSL directive
|
||||
redirect: |
|
||||
RedirectMatch (.*) https://__VHOST_NAME__:__SSL_PORT__$1
|
||||
|
||||
# PHP-FPM will not be applied to a reverse proxy!
|
||||
php_fpm: |
|
||||
# PHP-FPM Definition
|
||||
|
@ -52,6 +52,8 @@ vhost: |
|
||||
access_log "__ACCESS_LOG__" combined;
|
||||
error_log "__ERROR_LOG__" warn;
|
||||
|
||||
__REDIRECT__
|
||||
__SSL__
|
||||
__VHOST_DOCROOT__
|
||||
__VHOST_RPROXY__
|
||||
__PHP_FPM__
|
||||
@ -88,6 +90,18 @@ vhost_type:
|
||||
###
|
||||
features:
|
||||
|
||||
# SSL Configuration
|
||||
ssl: |
|
||||
ssl_certificate __SSL_PATH_CRT__;
|
||||
ssl_certificate_key __SSL_PATH_KEY__;
|
||||
ssl_protocols __SSL_PROTOCOLS__;
|
||||
ssl_prefer_server_ciphers __SSL_HONOR_CIPHER_ORDER__;
|
||||
ssl_ciphers __SSL_CIPHERS__;
|
||||
|
||||
# Redirect to SSL directive
|
||||
redirect: |
|
||||
return 301 https://__VHOST_NAME__:__SSL_PORT__$request_uri;
|
||||
|
||||
# PHP-FPM will not be applied to a reverse proxy!
|
||||
php_fpm: |
|
||||
# PHP-FPM Definition
|
||||
|
Loading…
x
Reference in New Issue
Block a user