Create nginx-reverse

This commit is contained in:
Olivier Lambert 2015-01-06 17:49:55 +01:00
parent ee94fb0509
commit 7047b6985d

View File

@ -0,0 +1,14 @@
Just configure your VirtualHost as usual (or your default site), with a section `location` like this one:
```
location / {
proxy_pass http://<XOA_IP_ADDRESS[:port]>/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
```
That's all!