feat: v2.0.0 production-ready release with Redis, OPcache and Nginx optimizations
This commit is contained in:
@@ -43,7 +43,7 @@ define( 'WP_POST_REVISIONS', {{ wp_post_revisions | default('3') }} );
|
||||
// Papierkorb-Aufbewahrung (in Tagen)
|
||||
define( 'EMPTY_TRASH_DAYS', {{ wp_empty_trash_days | default('7') }} );
|
||||
|
||||
{% if nginx_fastcgi_cache_enabled | default(true) %}
|
||||
{% if enable_nginx_cache | default(false) %}
|
||||
// FastCGI Cache Unterstützung
|
||||
define( 'WP_CACHE_KEY_SALT', '{{ domain_name | default('localhost') }}' );
|
||||
{% endif %}
|
||||
@@ -67,8 +67,13 @@ define( 'WP_DEBUG_LOG', false );
|
||||
define( 'WP_DEBUG_DISPLAY', false );
|
||||
|
||||
// ** WordPress-URLs ** //
|
||||
define( 'WP_HOME', 'http://{{ domain_name }}:8080' );
|
||||
define( 'WP_SITEURL', 'http://{{ domain_name }}:8080' );
|
||||
{% if ssl_enabled | default(false) %}
|
||||
define( 'WP_HOME', 'https://{{ domain_name }}' );
|
||||
define( 'WP_SITEURL', 'https://{{ domain_name }}' );
|
||||
{% else %}
|
||||
define( 'WP_HOME', 'http://{{ domain_name }}{% if ansible_port is defined and ansible_port != 22 and ansible_port != 80 %}:{{ ansible_port }}{% endif %}' );
|
||||
define( 'WP_SITEURL', 'http://{{ domain_name }}{% if ansible_port is defined and ansible_port != 22 and ansible_port != 80 %}:{{ ansible_port }}{% endif %}' );
|
||||
{% endif %}
|
||||
|
||||
// ** Weitere Einstellungen ** //
|
||||
define( 'AUTOMATIC_UPDATER_DISABLED', false );
|
||||
|
||||
Reference in New Issue
Block a user