added proxy buffer size in nginx host config
This commit is contained in:
parent
57ecdafc25
commit
f4529ec913
20
README.md
20
README.md
@ -36,11 +36,14 @@ add to your /etc/hosts :
|
|||||||
configure your apache vhosts to add a reverse proxy that will redirect the dev.materio.com to our container
|
configure your apache vhosts to add a reverse proxy that will redirect the dev.materio.com to our container
|
||||||
```
|
```
|
||||||
<Virtualhost *:80>
|
<Virtualhost *:80>
|
||||||
ServerName dev.materio.com
|
ServerName dev.materio.com
|
||||||
ProxyPass / http://127.0.0.1:8880/
|
ProxyPass / http://127.0.0.1:8880/
|
||||||
ProxyPassReverse / http://127.0.0.1:8880/
|
ProxyPassReverse / http://127.0.0.1:8880/
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
|
proxy_buffer_size 128k;
|
||||||
|
proxy_buffers 4 256k;
|
||||||
|
proxy_busy_buffers_size 256k;
|
||||||
</Virtualhost>
|
</Virtualhost>
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
@ -50,6 +53,9 @@ configure your apache vhosts to add a reverse proxy that will redirect the dev.m
|
|||||||
ProxyPassReverse / http://127.0.0.1:8881/
|
ProxyPassReverse / http://127.0.0.1:8881/
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
|
proxy_buffer_size 128k;
|
||||||
|
proxy_buffers 4 256k;
|
||||||
|
proxy_busy_buffers_size 256k;
|
||||||
</Virtualhost>
|
</Virtualhost>
|
||||||
```
|
```
|
||||||
## Docker
|
## Docker
|
||||||
@ -85,9 +91,9 @@ sudo docker exec -it materiod8_php_1 bash
|
|||||||
once inside the php container in /var/www/html you can use drush as usual
|
once inside the php container in /var/www/html you can use drush as usual
|
||||||
|
|
||||||
### gulp
|
### gulp
|
||||||
Dev process needs gulp to run in:
|
Dev process needs gulp to run in:
|
||||||
- public_html/sites/all/modules/custom/materio/
|
- public_html/sites/all/modules/custom/materio/
|
||||||
- public_html/sites/all/themes/custom/materio/
|
- public_html/sites/all/themes/custom/materio/
|
||||||
if you have to modifie js or scss source code, you need to do in each of these 2 folder:
|
if you have to modifie js or scss source code, you need to do in each of these 2 folder:
|
||||||
```
|
```
|
||||||
npm install
|
npm install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user