Questions tagged [reverse-proxy]

A reverse proxy is a type of proxy server that fetches resources from a specific defined set of servers for a client. It is used in cases when there is an advantage to not exposing the web server with the content directly whether it be for security reasons or because of a lack of available public IP addresses.

Filter by
Sorted by
Tagged with
0
votes
1answer
8 views

Proxy To Backend Service

I need to proxy an api request of the form api.myserver.com/service/v1/pricing to the right backend service. I configured nginx in this way: location /service/v1 { proxy_pass https://...
0
votes
0answers
11 views

504 Gateway Time-out on NGINX Reverse Proxy even though the container is up

I have the following Docker setup: jwilder/nginx-proxy for the reverse proxy jrcs/letsencrypt-nginx-proxy-companion for SSL (Let's Encrypt) custom WildFly container as the endpoint My problem is ...
0
votes
0answers
18 views

Nginx issues setting up a reverse proxy and securing it with LetsEncrypt

My environment: Ubuntu 18.04LTS nginx/1.14.0 (Ubuntu) python3-certbot-nginx certbot Plesk (built in Nginx has been disabled) I currently have an application called AMP. It has a guide HERE I am ...
0
votes
0answers
11 views

nginx - reverse proxy, ssl, and load balance same connection?

Application we use has an extended path that we would want shortened to just one subfolder. The method to do this was to use nginx. Along with this was to have the SSL terminated on the proxy server ...
0
votes
0answers
21 views

Nginx - Serve proxy pass target as IP instead of internal DNS

I frequently use Nginx as reverse proxy for deserving all my internal hosted applications. Most of the time, these applications are called with a IP-based address & everything works well. This ...
0
votes
1answer
24 views

How to redirect port 80 and 8080 to 443 using nginx for a Jenkins server

I am try to redirect anything going to port 80 and 8080 to 443 (https) using nginx. This is for a Jenkins server. I am using ubuntu. This is the nginx config I have at the moment: server { listen ...
0
votes
0answers
11 views

server name aliases not work with reverse proxy

I have a problem parking a domain to my website. everything is OK on domain.com and when I browse domain.com, my web-server reverse proxy my NodeJS program on domain.com well. I just have add domain....
0
votes
0answers
20 views

NGINX reverse proxy on root path returns 401 and 404 errors

I'm using NGINX to load balance a docker swarm cluster on Digital Ocean. I have swarmpit installed and I want to reverse proxy to it with an ssl certificate and using a custom port so that I can ...
0
votes
0answers
12 views

Traefik TCP reverse proxy working for HTTPS but not HTTP

Trying to make a Traefik reverse proxy sending port 80 and 443 traffic to kubernetes on another server. Important to notice that HTTPS traffic must be passthrough and thus sent encrypted as is because ...
0
votes
0answers
15 views

Send “wake” commands to larger server from reverse proxy on Google Cloud Run

Here's my setup. I have a large server running on Google Cloud Compute. In front of it, I have a reverse proxy running on Google Cloud Run (currently nginx). To save on costs, I have a cron job ...
0
votes
1answer
35 views

Apache ProxyHTMLURLMap with string substitution from LocationMatch

I am trying to build an Apache reverse proxy to make a set of servers accessible through a single point of access. The servers all offer a web admin interface on port 3000, and I intend to present all ...
0
votes
0answers
12 views

Nginx Reverse Proxy Doesn't Serve Images Or CSS

I'm running a wordpress docker instance on server 192.168.1.105:4444. On a separate server on my LAN I have nginx acting as a reverse proxy pointing my domain to it. I am able to load html, but images ...
1
vote
0answers
36 views

Apache2 mod_substitute not working in <Location>

I have a working Reverse Proxy that is active only on a specific Location in my site, in this case for example: www.example.com/reverseproxy/site1 I am reverse proxying site1. I want to replace some ...
0
votes
0answers
6 views

Chaining multiple nginx error pages [duplicate]

I'm fighting a bit with nginx and try to get a "chain" of nginx error pages to work. Current state looks like this: server { listen 443 ssl; server_name ~^((?<repo>.*)\.)example\....
0
votes
1answer
18 views

Jenkins or Apache changes the URL when using reverse proxy

I have a VPS that I use to run a personal Gerrit and Jenkins server. After a year of neglect I finally decided to get it working again. Previously I have used gerrit.server.com and jenkins.server.com, ...
0
votes
1answer
21 views

Return file with status code from remote server in Nginx

I am trying to set up my SPA to return 404 for invalid resources by having nginx do a backcheck for the resource before responding. All this is to avoid invalid pages coming with 200 and thus having ...
0
votes
1answer
51 views

Modify response header with nginx

I'm trying to configure nginx as a reverse proxy server for a web application on a back-end Domino server. We have 99.9% working, but that last 0.1% is really bugging me. I'll explain. In some cases,...
0
votes
1answer
84 views

Apache reverse proxy to nodejs server on CentOS 7 (WHM)

I'm trying to setup my site on the server. I've uploaded it and it's currently running on the server but the problem comes when I try to setup a reverse proxy on the domain so that I can access the ...
0
votes
0answers
16 views

Configure Apache Web Server (shared hosting) to provide simultaneous Web and Websocket Access

I'm trying since some days to find a way to configure simultaneous websocket and web server connections with one same Apache Web Server I have on a shared hosting basis. Now, before giving that up and ...
0
votes
1answer
47 views

Configure NGINX Reverse Proxy in front of Apache Web Server (to enable websockets)

Upon recommendation of a member of the stackoverflow forum, I hereby ask the following question in this forum, where it apparently fits better (I'm new to this forum). What exactly I want: A ...
2
votes
1answer
31 views

Does JBoss EAP include a reverse proxy?

I am used to setup a reverse proxy in front of application servers like Node or Tomcat. Now I am required to use JBoss Enterprise Application Platform, but I don't know the platform. Is it advisable ...
0
votes
1answer
25 views

Nginx proxy request to url specified in GET variable

I need Nginx to respond to a request like https://example.org/proxy/?url=https://othersite.com/path/file.php%%a=test123%%b=321tset or a similar method, like https://example.org/proxy/https://...
0
votes
1answer
49 views

Only allow requests containing certain get variables through nginx reverse proxy

I have an nginx reverse proxy which is going to handle callbacks from the API of another server. These callbacks go to https://callbackserver.com/?wc_api=App&secret=SECRET but I want any other ...
0
votes
0answers
18 views

Reverse proxy Rest-API endpoint

I have trouble configuring the reverse proxy for my setup. I have a frontend built using Angular and a backend built using Spring (running Spring boot currently) Now, i have already configured ...
0
votes
0answers
19 views

301 redirect requests that are not proxied

I've got a Wordpress app running on Apache (on blog.example.com), and an Nginx server that works as a reverse proxy (on example.com). My main goal is to have blog.example.com accessible through ...
-3
votes
1answer
125 views

NGINX as a reverse proxy based on domain / URL [closed]

I have three servers available behind a firewall and want to set up NGINX on one (port 80/443) to handle all http traffic to and from the others. For the sake of simplicity, the NGINX box is at: 10.0....
1
vote
0answers
18 views

Nginx reverse proxying to different root

Took days to troubleshoot this issue, yet couldn't find solution googling with my noob knowledge base. What I'm trying to do: Accessing url/nextcloud reverse proxy to localhost but keeping /nextcloud/...
0
votes
0answers
21 views

CNAME and Nginx

Let say I have such kind of record in my extdomain.com: extdomain.com CNAME abc.newdomain.com www.extdomain.com CNAME abc.newdomain.com And I'd like to use nginx proxy_pass to use ...
0
votes
0answers
10 views

Apache reverse proxy routing/forward request of ABC.com website to XYZ.com(Websocket)

Detail: OS: Red Hat Enterprise Linux Server 7.6 (Maipo) Kernel: 3.10.0-957.5.1.el7.x86_64 Server version: Apache/2.4.6 (Red Hat Enterprise Linux) Server built: Oct 8 2019 05:47:38 httpd-2.4.6-93....
0
votes
1answer
23 views

Make nginx wait x seconds before returning a 502

I think fastcgi_read_timeout is what I need here, but would like to get expert confirmation on my use-case! Thanks. -- I have nginx doing fastcgi relay to a php-fpm instance. The fpm instance, ...
0
votes
1answer
14 views

Redirect request to a second URL if an error is encountered on first in NGINX

I'm new to NGINX and I'm trying to figure out whether I need a proxy or a reverse proxy. Here's the requirement: Create a proxy that will hit websiteA, if no error is encounter (node is not down but ...
0
votes
0answers
30 views

manipulating URI for different webapps on Apache reverse proxy to tomcat on Windows

I have apache handling requests for having different domains 'pulling' different 'apps' from a single tomcat instance. In fact the requests for all domains point to a 'mother' webapp which loads the ...
0
votes
0answers
21 views

remoteapp + rd gateway behind reverse proxy . rdweb iis

i have some problems with a remoteapp deployment. on the perimetral network accessible from the internet from public ip there is a reverse proxy that serve some sites with publicdomain.it . All is ...
0
votes
1answer
33 views

Use NGINX to route to local resource by removing domain

Setup: I have various devices on my home network. I have used ".home" as the domain for this network. My router (ASUS - with Merlin firmware) supports basic DNS and can route "desktop.home" to the ...
0
votes
0answers
19 views

How to terminate vanity domain and pass original URL to backend servers?

My company offers a SaaS website with vanity domains for each tenant, e.g. www.foo.com and www.bar.com. We currently have one IIS/MVC5 website per tenant, and we use IIS bindings on host name to ...
0
votes
1answer
16 views

Reverse Proxy for a Virtual host

Can someone explain me this code with example: ProxyPreserveHost On <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:3333/...
0
votes
2answers
40 views

Is nginx proxy can be use for this use case?

I have been having trouble understanding the concept of proxy and want to know if it is possible to use in my use case. I have a web folder with one php file foo.php, I want to know if someone access ...
0
votes
1answer
21 views

How to block direct access to backend when frontend has nginx reverse proxy

I have a frontend with an nginx reverse-proxy. Any get request made from it starting with the prefix "api" gets routed to the backend. However I've noticed that this also leads to direct calls to the ...
0
votes
0answers
15 views

Extracting HTTP Host Header from nginx Stream Proxy

I'm looking to use the stream module of nginx to proxy HTTP traffic. This works well for HTTPS, as the ngx_stream_ssl_preread module exists. This allows me to extract the requested server name from ...
1
vote
2answers
66 views

RewriteRule (Reverse Proxy) of front page in htaccess not working

The following rule should target my front page (WordPress) to serve a different page instead. RewriteCond %{HTTP_HOST} ^example.com$ RewriteCond %{REQUEST_URI} ^($|\/$|\?|\/\?) RewriteRule ^(.*) ...
0
votes
0answers
26 views

nginx as dynamic reverse proxy not working

I am trying to use nginx as a reverse proxy but with dynamic destination IP/ports and I've not been able to get it working. At this stage I'd like to know if what I'm trying to achieve is actually ...
0
votes
1answer
24 views

secure reverse proxy apache server still getting requests to other domains in access log

I've been trying to setup apache (port 80) as a reverse proxy to a nodejs server (port 3000) and I made the mistake of launching my apache server with ProxyRequests On. I discovered this error after ...
0
votes
1answer
31 views

Automatically index configured nginx locations

I've setup nginx as a reverse proxy for some backend services like this: http { server { listen 80; location /service-1/ { proxy_pass http://127.0.0.1:8081/; ...
1
vote
1answer
126 views

Nginx 301 redirect with nginx-proxy and nginx-proxy-companion

I'm using something like this docker-compose.yml file. version: '3' services: httpd: image: httpd:alpine environment: - VIRTUAL_HOST=example.com,www.example.com - ...
0
votes
0answers
23 views

JS application not working from subdomain using Nginx reverse proxy

So I have this Nuxt.js (Javascript) application with a /pages/profile.js page, running on 127.0.0.1:3000/profile, which I want to render as {username}.site.com using Nginx' reverse proxy. This is my ...
0
votes
1answer
17 views

What's the rationale behind using reverse-proxy in front of an application server?

Why do application server documentations always recommend using a reverse-proxy like Nginx? Take a random app server like Gunicorn or a built in server for NPM, what's the rationale behind using Nginx ...
0
votes
1answer
14 views

Cannot reach Node.js application over HTTPS

I have an node.js application that is running on port 3000. Infront of it i run an nginx reverse proxy. It works fine for port 80. I have tried to install an certificate with certbot. Now i have the ...
0
votes
0answers
33 views

Apache2 Reverse Proxy is now redirecting but not proxying on Ubuntu Server?

I am running Apache2 on Ubuntu Server 19.10. I have a couple of sites that are reverse proxied and have been working forever, but suddenly my reverse proxy for my airsonic server stopped working. ...
0
votes
1answer
32 views

Nginx Apache reverse proxy with php-fpm

trying to install nginx with apache revers proxy, apache itself does sent to php-fpm to port 9000 on localhost so apache http on port 8081, apache https 444 nginx 80 and nginx ssl 443 php-fpm port ...
0
votes
0answers
21 views

nginx tcp proxy routing based on sni

I want to build a tcp proxy based on SNI. The upstream backend is an openshift cluster and I want to block access to certain projects by ip. so the idea is to use a tcp proxy with multiple VIPs. Use ...

1
2 3 4 5
52