Convos
view release on metacpan or search on metacpan
lib/Convos/Manual/HttpHeaders.pod view on Meta::CPAN
141516171819202122232425262728293031323334# mount the application under /convos
location /convos {
# remove "/convos" from the forwarded request
rewrite ^/convos(.*)$ $1 break;
# generic headers for correct handling of ws and http
proxy_http_version 1.1;
proxy_set_header Connection
"upgrade"
;
proxy_set_header Host
$host
;
proxy_set_header Upgrade
$http_upgrade
;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_set_header X-Forwarded-Host
$host
;
# set this if you are running SSL
proxy_set_header X-Forwarded-HTTPS 1;
# inform Convos the full location where it is mounted
# tell nginx where Convos is running
proxy_pass http://10.0.0.10:8080;
( run in 0.236 second using v1.01-cache-2.11-cpan-d6f9594c0a5 )