Questions tagged [reverse-proxy]

Questions about reverse proxy. Reverse proxy is type of proxy server, which collects requests from (usually) multiple clients from the Internet (or outer network) and forwards it to the real server (or servers) to inner network. Principle id often used on balancing traffic.

43 questions
6
votes
2 answers

Forwarding Multiple port to Single port using nginx

I want to proxy pass all requests coming from a series of ports into single port. I am able to proxy pass a single port to another like so: server { listen 3333; server_name test.in *.test.in; location / { proxy_pass …
Hari
  • 303
  • 1
  • 2
  • 8
3
votes
1 answer

Get Apache2 running with nginx as reverse proxy

My goal is to provide a secure email service from a new Ubuntu 16.04 server. In order to do this, I want to set up Apache2 with nginx running as its reverse proxy. My immediate problem is that Apache fails to start, claiming that there is no SSL…
James Newton
  • 1,145
  • 1
  • 17
  • 31
3
votes
0 answers

HAproxy to v2ray

I am using Ubuntu 22.04.I have a VPS with v2ray that is proxied behind Cloudflare. Because of the restriction of open ports of Cloudflare, I want to use HAproxy to connect all users via the 443 port on VPS. How can I configure HAproxy to implement…
3
votes
1 answer

Portainer docker container behind Nginx reverse proxy

I have set up an nginx reverse proxy on an Ubuntu 22.04 server and I have successfully obtained ssl certificate from lets encrypt. The two keys are stored…
2
votes
2 answers

How to configure multiple domains to point to separate virtual machines with a single IP?

Lets say we have 2 domains http://www.foo.co.uk http://www.bar.co.uk 1 public static IP for a Ubuntu 16.04 LTS server 80.12.34.56 (192.168.0.11 locally) And 2 KVM Ubuntu 16.04 LTS server instances running on the same machine at 192.168.0.17 and…
Syphonx
  • 23
2
votes
2 answers

Run Pgadmin4 behind reverse proxy

I'm trying to run pgadmin4 behind an Nginx reverse proxy but I'm having an issue because I need for pgadmin to know it is at myhost.com/pgadmin and not simply at myhost.com.... or at least I think that is the problem. In other web apps there is…
Dean MacGregor
  • 257
  • 1
  • 3
  • 15
2
votes
2 answers

nginx and apache2 on same server

I have ubuntu 16.04 with nginx and apache2. There are 2 DNS A records pointed to this machine: app1.mydomain.com app2.mydomain.com I need app1.mydomain.com to be resolved by apache and app2.mydomain.com to be resolved by nginx. Both on port 80.…
1
vote
0 answers

How to connect my host name to my proxy server using apache

Im using apache configured as a proxy server to connect hostnames linked to my external static IP address to ports on my internal server. My router is configured to point to my server via port 80 using port forwarding. My apache configuration is set…
1
vote
1 answer

Getting ssh -R to work for forwarding to two client PCs at the same IP, but different ports?

I have done basically two identical ssh -R forwards, but only one works. Here is my situation: At work: server/computer that I want to log in to remotely At home: Desktop Laptop Router forwards: Port 22 and 49666 to Laptop Port 49667 and 49668 to…
iammax
  • 348
1
vote
1 answer

IP based load balance in nginx

I have two Backend server running on 192.168.0.101:8080 and 192.168.0.102:8080. I have nginx running on 192.168.0.111:80, I want to force nginx to reverse traffic in specific backend srever by IP. geo $upstream { 192.168.0.150 backend-1; …
1
vote
1 answer

Redirect port 5000 OSRM a subdomain in Apache2

Little description: Redirect port 5000 to a subdomain Description: Well I have a program, "supervisor" It has a OSRM (open street routing map), It is running in port 5000, I want to redirect that port to a subdomain example.mywebsite.com, all with…
1
vote
1 answer

How should I configure multiple virtual hosts with a single or multiple files in Apache and dynu/No-ip Service?

Hi i have this issue with 3 domains on my server with ububtu 22.04 and apache I have 3 domains in a shared hosting, each one with their own web page domain-a.com domain-b.com domain-c.com I also have 3 domains in no-ip, which I have redirected to a…
Leandro
  • 11
  • 2
1
vote
1 answer

A complex configuration. How can I get my web server's browser to access a web site served from the same server?

Server is setup with the full desktop install of Kubuntu Linux 18.04LTS. I Nginx, and Apache2 installed. I also have Gogs installed. And I have 4 cert's from Let's Encrypt installed. From a web browser on any of the computers on my LAN (and…
1
vote
1 answer

Nginx as SSH gateway?

I have a server which serves some other systems via LXD, using Nginx as reverse proxy for accessing them on HTTP. Now I want to give shell access to one of them to a friend. In fact, I want to be able to directly SSH into LXD machine, without…
1
vote
0 answers

Ubuntu 16.04 not allowing dns queries from local reverse proxy

So I know this is not ideal but I have it set up so that all my queries to my external facing services go to the internet then back to local since I have not yet configured the proper DNS records here. If I access the sites from any other machine on…
1
2 3