Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
FP_Canada
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d13235a0
authored
2022-05-26 16:10:56 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
cache
1 parent
fbf6f891
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
config/deploy.rb
wp-config.php
config/deploy.rb
View file @
d13235a
...
...
@@ -18,7 +18,7 @@ set :deploy_to, -> { "/var/www/html/production/#{fetch(:application)}" }
set
:log_level
,
:info
# Put all shared files/directories here (e.g. uploads that need to go on the NFS drive)
set
:linked_files
,
fetch
(
:linked_files
,
[]).
push
(
'.env'
,
'wordfence-waf.php'
,
'wp-content/wp-cache-config.php'
)
set
:linked_files
,
fetch
(
:linked_files
,
[]).
push
(
'.env'
,
'wordfence-waf.php'
,
'wp-content/wp-cache-config.php'
,
'wp-content/advanced-cache.php'
,
'wp-content/wp-cache-config.php'
)
set
:linked_dirs
,
fetch
(
:linked_dirs
,
[]).
push
(
'wp-content/wflogs'
,
'wp-content/uploads'
,
'wp-content/storage'
,
'wp-content/languages'
,
'wp-content/cache'
,
'wp-content/wp-rocket-config'
)
namespace
:deploy
do
...
...
wp-config.php
View file @
d13235a
...
...
@@ -29,7 +29,7 @@ if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
require_once
(
__DIR__
.
'/vendor/autoload.php'
);
(
new
\Dotenv\Dotenv
(
__DIR__
.
'/'
))
->
load
();
define
(
'WPCACHEHOME'
,
__DIR__
.
'/wp-content/plugins/wp-super-cache/'
);
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
...
...
@@ -58,7 +58,7 @@ define('ALLOW_UNFILTERED_UPLOADS', true);
define
(
'DISALLOW_FILE_MODS'
,
true
);
define
(
'AUTOMATIC_UPDATER_DISABLED'
,
true
);
define
(
'WP_AUTO_UPDATE_CORE'
,
false
);
define
(
'WP_CACHE'
,
true
);
/**#@+
* Authentication Unique Keys and Salts.
...
...
Please
register
or
sign in
to post a comment