updated readme

This commit is contained in:
2020-02-25 14:07:03 +01:00
parent b29fd391f1
commit 69dee60e7c
+19 -1
View File
@@ -22,7 +22,8 @@ add to your /etc/hosts :
127.0.0.1 dev.muntadas-protocols.figli.io
```
configure your apache/nginx vhosts to add a reverse proxy that will redirect the dev.materio.com to our container
```
```# apache
<Virtualhost *:80>
ServerName dev.muntadas-protocols.figli.io
ProxyPass / http://127.0.0.1:8882/
@@ -31,6 +32,23 @@ configure your apache/nginx vhosts to add a reverse proxy that will redirect the
</Virtualhost>
```
```# nginx
server {
listen 80;
server_name dev.muntadas-protocols.figli.io;
location / {
proxy_pass http://127.0.0.1:8882;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
}
}
```
## Docker
### start daemon