added proxy buffer size in nginx host config

This commit is contained in:
Bachir Soussi Chiadmi 2019-03-26 21:55:53 +01:00
parent 57ecdafc25
commit f4529ec913

View File

@ -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
```
<Virtualhost *:80>
ServerName dev.materio.com
ProxyPass / http://127.0.0.1:8880/
ProxyPassReverse / http://127.0.0.1:8880/
ProxyRequests Off
ProxyPreserveHost On
ServerName dev.materio.com
ProxyPass / http://127.0.0.1:8880/
ProxyPassReverse / http://127.0.0.1:8880/
ProxyRequests Off
ProxyPreserveHost On
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
</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/
ProxyRequests Off
ProxyPreserveHost On
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
</Virtualhost>
```
## 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
### 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/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:
```
npm install