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