Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-12-2018, 10:53 AM   #1
Registered: Sep 2005
Posts: 852

Rep: Reputation: 30
reverse proxy on haproxy/nginx

I want to setup a reverse proxy to allow me to expose a single IP and host multiple services via paths e.g.

https://FQDN/service1 --> backend1
https://FQDN/service2 --> backend2
https://FQDN/service3 --> backend3

Backend may be listening on port other than 443, some with http and some are https.

I have tried both approach on haproxy/nginx without success. Some servers just don't load properly or doesn't load at all.

What i noticed is that it works when frontend is on port 443 without any leading paths (e.g. https://FQDN --> backend:someport. Does anyone have a simple config on either haproxy or nginx that I can pattern with?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nginx Reverse Proxy Sut Ram Linux - Server 3 08-29-2016 06:55 AM
Nginx reverse proxy circus78 Linux - Server 1 07-09-2016 03:10 AM
Nginx reverse proxy szemy Linux - Server 1 01-22-2016 02:59 AM
Nginx Reverse proxy on a internal apache reverse server ITiger Linux - Software 0 04-25-2014 07:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration