Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4727

Convert to HAPROXY configuration

$
0
0

@ppraj wrote:

upstream portainer {
server ADDRESS:PORT;
}

server {
listen 80;

location /portainer/ {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://portainer/;
}
location /portainer/ws/ {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
proxy_pass http://portainer/ws/;
}
}

Please find this link, as I need to serve content with virtual path for the application and the example as with nginx

https://portainer.readthedocs.io/en/stable/faq.html#how-can-i-configure-my-reverse-proxy-to-serve-portainer

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4727

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>