Create nginx-reverse
This commit is contained in:
parent
ee94fb0509
commit
7047b6985d
14
doc/recipies/nginx-reverse
Normal file
14
doc/recipies/nginx-reverse
Normal 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!
|
Loading…
Reference in New Issue
Block a user