wslave 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/base/docker/nginx/Dockerfile +4 -3
- data/base/docker/nginx/nginx.vhost +2 -0
- data/base/docker/nginx/php.ini +1946 -0
- data/base/public/.htaccess +15 -11
- data/bin/wslave +1 -1
- data/wslave.gemspec +1 -1
- metadata +3 -4
- data/base/config/deploy/.production.rb.swp +0 -0
- data/base/config/deploy/.staging.rb.swp +0 -0
data/base/public/.htaccess
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
<IfModule mod_rewrite.c>
|
2
|
-
|
3
|
-
|
2
|
+
RewriteEngine On
|
3
|
+
RewriteBase /
|
4
4
|
|
5
|
-
|
5
|
+
RewriteRule ^$ wordpress/index.php [L]
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
# Skip real files and directories
|
8
|
+
RewriteCond %{REQUEST_FILENAME} !-f
|
9
|
+
RewriteCond %{REQUEST_FILENAME} !-d
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
# END WordPress
|
11
|
+
# Otherwise send it to WordPress
|
12
|
+
RewriteRule .* wordpress/index.php [L]
|
13
|
+
# BEGIN WordPress
|
14
|
+
# END WordPress
|
16
15
|
</IfModule>
|
17
16
|
<FilesMatch ".+\.(blade\.php)$">
|
18
17
|
<IfModule mod_authz_core.c>
|
@@ -25,3 +24,8 @@
|
|
25
24
|
Deny from all
|
26
25
|
</IfModule>
|
27
26
|
</FilesMatch>
|
27
|
+
php_value upload_max_filesize 4096M
|
28
|
+
php_value post_max_size 4096M
|
29
|
+
php_value memory_limit 512M
|
30
|
+
php_value max_execution_time 1200
|
31
|
+
php_value max_input_time 2400
|
data/bin/wslave
CHANGED
@@ -66,7 +66,7 @@ class WSlaveCLI < Thor
|
|
66
66
|
WSlaveDocker.new().server(:reset, options['f'])
|
67
67
|
end
|
68
68
|
|
69
|
-
desc '
|
69
|
+
desc 'remove [options]', "Shuts down containers and deletes all container data and volumes"
|
70
70
|
method_option :f, type: :boolean, default: false, description: 'force close other servers first'
|
71
71
|
def remove()
|
72
72
|
puts 'Stopping server...'
|
data/wslave.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'wslave'
|
3
|
-
s.version = '0.3.
|
3
|
+
s.version = '0.3.2'
|
4
4
|
s.licenses = ['GPL-3.0', 'AGPL-3.0']
|
5
5
|
s.summary = '"Word Slave" generates and controls a WordPress installation'
|
6
6
|
s.description = 'Word Slave includes the wslave command and a control library to generate a ' \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wslave
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei Kagetsuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -164,14 +164,13 @@ files:
|
|
164
164
|
- base/config/deploy-tools/wp-config.php.erb
|
165
165
|
- base/config/deploy-tools/wp-config.php.local
|
166
166
|
- base/config/deploy.rb
|
167
|
-
- base/config/deploy/.production.rb.swp
|
168
|
-
- base/config/deploy/.staging.rb.swp
|
169
167
|
- base/config/deploy/production.rb
|
170
168
|
- base/config/deploy/staging.rb
|
171
169
|
- base/docker-compose.yml
|
172
170
|
- base/docker/apache/Dockerfile
|
173
171
|
- base/docker/nginx/Dockerfile
|
174
172
|
- base/docker/nginx/nginx.vhost
|
173
|
+
- base/docker/nginx/php.ini
|
175
174
|
- base/docker/nginx/supervisord.conf
|
176
175
|
- base/public/.htaccess
|
177
176
|
- base/public/wp-config.php
|
Binary file
|
Binary file
|