Skip to content

Commit 6964a05

Browse files
committed
Update README.md
1 parent 8a8da85 commit 6964a05

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,6 @@ docker-compose up -d
190190

191191
### Website
192192

193-
All necessary changes to sites/default and sites/default/settings.php have been made, so you should remove write permissions to them now in order to avoid security risks.
194-
195-
```
196-
chmod 655 ./drupal/sites/default/settings.php
197-
```
198-
199193
add or remove code in the ./php-fpm/php/conf.d/security.ini file for custom php.ini configurations
200194

201195
Copy and paste the following code in the ./php-fpm/php-fpm.d/z-www.conf file for php-fpm configurations at 1Gb Ram Host
@@ -217,13 +211,13 @@ docker container restart drupal
217211
add and/or remove drupal site folders and files with any ftp client program in ```./drupal``` folder.
218212
<br />You can also visit `https://example.com` to access website after starting the containers.
219213

220-
#### Database configuration
214+
#### Database
221215

222216
ADVANCED OPTIONS -> Host: database
223217

224218
#### Redis
225219

226-
Edit Drupal settings file: ./drupal/sites/default/settings.php and add these lines at the bottom of the file or make uncomment:
220+
if there isn't these lines, Edit Drupal settings file: ./drupal/sites/default/settings.php and add these lines at the bottom of the file:
227221

228222
```
229223
$settings['redis.connection']['host'] = 'redis';
@@ -232,7 +226,21 @@ $settings['cache']['default'] = 'cache.backend.redis';
232226
$settings['redis.connection']['base'] = 8;
233227
```
234228

235-
#### Varnish Plugin
229+
#### Varnish
230+
231+
[This link is to complete configure Varnish](https://www.varnish-software.com/developers/tutorials/configuring-varnish-drupal/#4-configure-caching-and-purging-in-drupal)
232+
233+
Varnish Server Hostname: varnish
234+
235+
Varnish Server Port: 8080
236+
237+
Scheme: http
238+
239+
All necessary changes to sites/default and sites/default/settings.php have been made, so you should remove write permissions to them now in order to avoid security risks.
240+
241+
```
242+
chmod 655 ./drupal/sites/default/settings.php
243+
```
236244

237245
### phpMyAdmin
238246

0 commit comments

Comments
 (0)