Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [proxypass]

ProxyPass in Apache, and proxy_pass in nginx, are directives used to specify which backend or remote server should process the request

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Does proxypass put a toll on network traffic for streamable sources?

First of all I have never tried it and it may not be possible, but I do imagine a case when things like AWS S3 services offers files on their "buckets", and some part of security procedure ...
user avatar
0 votes
1 answer
17 views

NGINX proxy_pass with changing URI

What I want to achieve: When I access my site "https://my.domain.com/comics", it will point to http://192.168.1.55:3322/login page which is the comic webserver login page. I will enter my ...
user avatar
0 votes
0 answers
37 views

Apache proxy returns 502 with AH00898: Error reading from remote server

everyone. I'm doing a practice task to create redirect for one location using load balancer, but I cant figure out why this isnt works (getting 502). I've tried setting several env-vars and settings ...
user avatar
0 votes
2 answers
24 views

Apache Proxypass redirects "localhost:port" as url string instead of local service of the port

Environment Server version: Apache/2.4.6 (CentOS) I have two servers which are almost duplicates. aaa.com. and bbb.com. They have almost same Apache rulesets. aaa.com. config <Location "/...
user avatar
0 votes
1 answer
28 views

NGINX environment-based routing

I have a single application running in multiple K8s clusters; Let's say there is a frontend service, and two backend ones. I use NGINX proxy the requests from the frontend to the backend services. ...
user avatar
0 votes
0 answers
5 views

controlling apache target using cookie

I have an apache web server with authentication based on mod_mellon mode (IDP OKTA). Authentication is done only on the Uri "/example". Everything is OK on authentication. Post-...
user avatar
  • 101
0 votes
0 answers
7 views

How does a ProxyPass impact the server resources in Apache?

In our local office, we have a developement server, with kind of limited resources. When multiple developers are using this server, the load becomes really big on it, to the point it starts becoming ...
user avatar
0 votes
0 answers
30 views

ProxyPass only works on localhost (127.0.0.1)

my httpd configuration is like this: ProxyRequests On SSLProxyEngine On ProxyPass /wss/ http://127.0.0.1:6789/ ProxyPass /wss2/ http://49.12.36.109:6789/ ProxyPass /wss3/ http://www.testingmcafeesites....
user avatar
0 votes
0 answers
44 views

Why nginx is not reaching file in azure blob storage?

Here is the minimal reproducible sample configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: nginx-conf data: default: | server { server_name myserver.com; location ...
user avatar
  • 111
0 votes
0 answers
11 views

Nginx Proxy_pass is adding www in proxy_pass url

add_header X-debug-message "$uri"; add_header X-debug-message "$request_uri"; if ($http_user_agent ~* "teams|twitterbot|facebookexternalhit") { rewrite detail/one /api/...
user avatar
0 votes
0 answers
30 views

Apache proxypass css/js to their specific URLs

I have two of my backend sockets running at port 9000 and 9001. Both provide a WebUI with CSS,JS and PHP. But both are different websites and when I use proxypass for both sites, how can I load css,js ...
user avatar
0 votes
0 answers
117 views

Ubuntu Apache Proxy Pass causing an ERR_ABORTED 404 (Not Found)

I running two Node.js servers on a Ubuntu EC2 instance listening on two different ports... http://127.0.0.1:8080/ (Express Server) http://127.0.0.1:1337/ (Strapi CMS Server) In front, I have an ...
user avatar
0 votes
1 answer
55 views

Configuring NGINX with proxy_pass set up on a subdirectory pointing to a docker server, and ensuring relative URLs (.js, .css) resolve

I have nginx 1.14.0 running on Ubuntu 18.04 server. On that server, I'm attempting to self-host many different applications. My goal is to have each location exist at a subdirectory of my url, server....
user avatar
  • 121
1 vote
0 answers
102 views

Nginx proxy_pass root to external landing page

For a new domain x.co I am setting up, I want the root (x.co) to show an external landing page without changing the url to that of the external landing page. This landing page has been created on ...
user avatar
  • 255
0 votes
1 answer
59 views

Nginx mirroring without "main" proxy_pass

I have a case where I would like nginx to proxy_pass queries to a backend and mirror it to one or more site. That is quite straight forward with a config like server { server_name mydomain.tld;...
user avatar
  • 1
0 votes
0 answers
27 views

Apache ProxyPass: Connection timed out

I have my apache configured to proxy some traffic to an internal ip (127.0.0.1:8048). When accessing the internal IP, everything works fine. But when acessing the proxy, I receive: Failed to connect ...
user avatar
0 votes
0 answers
306 views

NodeJs app working when started using npm start, but not with PM2

Very new to server stuff, sorry if this may be a noob question. Problem I am trying to run React and Node/express on a server. React does work and when I start my node app via npm start the server ...
user avatar
  • 101
0 votes
1 answer
56 views

Apache, Docker, Proxy - change adress in browser to 127.0.0.1

I have Apache server with few sites. I would like to run on this server docker container with Mercure and share it on the Internet. I found information on the Internet that I need to use ProxyPass and ...
user avatar
0 votes
1 answer
79 views

Nginx redirects to http://localhost

Brief image of the situation I can't use domain address for server_name because I can't control DNS server. I must use public IP to connect to my web server. So I set server_name to _;, but when I ...
user avatar
0 votes
0 answers
24 views

Nginx not returned cookie from proxy

I have an authentication server, that return an id Cookie that should be used by the client for the followed request, but the nginx proxy don't return the id cookie to the client over the proxy. ...
user avatar
0 votes
0 answers
40 views

Bad nginx URI redirection

I am trying to authenticate in a keycloak server however the redirect_uri doesnt come with the context (/admin/). Nginx is producing a wrong URI redirect_uri: hxxps://***.pt/auth/realms/example/...
user avatar
  • 121
0 votes
0 answers
30 views

Nginx $args are being cleared before assigned

The proxy request is being made: location /tracking-ga4 { proxy_method POST; proxy_set_header content-type "application/json"; proxy_set_body '{ "client_id&...
user avatar
0 votes
0 answers
84 views

nginx mirror traffic and process with lua script

I want to proxy requests to the backend_old server and process them with lua script. My nginx config: upstream backend_old { server backend_old.com:443; } server { listen 80 ...
user avatar
  • 1
0 votes
0 answers
31 views

redirecting VM's (ubuntu server) apache to its PROXMOX HV results in correct redirect except two paths

after long searches I figured out how to serve my redirect a subfolder of my apache to my host's web server. this is the proxypass section in my 000-default-le-ssl.conf ProxyRequests Off ...
user avatar
0 votes
1 answer
70 views

Using Apache ProxyPass to point to express server?

I'm trying to use proxypass for a specific directory so I can point it to my express.js server https://othersite.life:1447/ Been stuck on this one for hours now. Would really appreciate some insight. ...
user avatar
1 vote
1 answer
31 views

Sending selective args from Nginx proxy to the upstreams through proxy_pass

I have a Nginx proxy configured for a Minio S3 object storage server. Can I remove some of the query params (more than one agrs) when I'm passing a request to the upstream (Minio) and keep the rest of ...
user avatar
0 votes
0 answers
32 views

nginx proxypass not working for embedded links

I've an EC2 machine which is behind a ALB. Listener rules in the ALB are like IF Path is/blog* Host is abc.example.com THEN Forward to target-group-1 My nginx config looks like this: ## # Default ...
user avatar
  • 183
0 votes
1 answer
73 views

Rolling updates of backend with udp server sockets

I have a backend system used for IOT devices which use UDP protocol for communications. And there are certain TCP (HTTP2) based APIs for mobile apps from the same backend. I am trying to build a ...
user avatar
0 votes
0 answers
164 views

Cloudflare in front of Nginx Reverse - redirect users with certain IP to special page

I'm running a nginx reverse proxy in front of webpage. In front of this nginx reverse proxy is also cloudflare reverse proxy running. Now I'm trying to redirect users with certain ip-addresses to a ...
user avatar
1 vote
1 answer
341 views

Cockpit via NGINX - settings make other services not reachable

I have a server (Ubuntu-Server) with some Docker-based servers (Gitlab, Redmine) and NGINX as Proxy. gitlab.<myserver> => NGINX -> <docker-net-ip>:port => Gitlab-container ...
user avatar
  • 121
0 votes
1 answer
273 views

Apache ProxyPass to Shared Ip Address for Domain

I have a case where I need to proxy pass a domain (domain1.com) to a different domain (domain2.com) hosted on a shared ip address (192.168.168.168), but domain2.com DNS is pointed other than the ...
user avatar
0 votes
0 answers
177 views

nginx always serves 502 Bad Gateway

I am trying to run a proxy with Nginx and I implemented the following tutorial as preparation. I did exactly as instructed here and I was served a 502 Bad Gateway result when I entered http://develop....
user avatar
  • 127
1 vote
1 answer
254 views

Grafana does not send notifications through reverse proxy

I am using Grafana on a server that does not have Internet, I need to send Telegram notifications, for that I am using Nginx server in another machine. Server A: Grafana installed / Running on port ...
user avatar
0 votes
0 answers
204 views

CORS and Nginx in front of apache reverse proxy/proxy pass not working to access API server

I'm trying to set up a reverse proxy to my api server but getting a 404 error page. Context: Whilst setting up a react.js application and trying to find a solution to the CORS problem, I've decided to ...
user avatar
1 vote
1 answer
146 views

Grant access to the Internet only for certain requests from Grafana with reverse proxy

I have two machines: Machine A: Grafana installed / No access to the Internet / Need to send notifications to Telegram Machine B Nginx installed / Access to the Internet I would like to send those ...
user avatar
0 votes
1 answer
146 views

Nginx robot proxy_pass to another port with change url

I Have a problem with nginx configuration. If user agent is "robot" - then proxy pass to another port with setting corrent uri as argument for example : have two services localhost:5000 and ...
user avatar
-1 votes
1 answer
91 views

Using Apache proxy pass not forwards with port

I have some websites on my server and few of them have proxy pass and they are passing some port to some subdomain. But now I'm trying to add another subdomain for Webmin, but it doesn't forward to ...
user avatar
0 votes
1 answer
133 views

Nginx L4 Proxy Works with HTTPS but not with HTTP

I have the following configuration as L4 proxy over Nginx and everything works fine. stream { map $ssl_preread_server_name $name { hostnames; .ipchicken.com $...
user avatar
0 votes
0 answers
196 views

Proxy all requests to backend server

I currently have an Angular app that gets its data from a Symfony backend. When developing, I used the ng serve development server proxy system for redirecting the /api, /oauth-token and /media routes ...
user avatar
  • 1
0 votes
1 answer
142 views

Redirect to external asset nginx

My goal is to have one nginx that can proxy_pass to other server. Desired input https://example.com/https://assets1.com/image.jpg?utm=whatever Desired output https://assets1.com/image.jpg?utm=...
user avatar
  • 103
0 votes
0 answers
280 views

NGINX proxy_pass without changing URL

My Goal My goal is to redirect to a different web page without changing the URL in the address bar. So for example I want to redirect from https://my.site.com/path to https://external.com/other, but ...
user avatar
0 votes
0 answers
47 views

proxy pass in nginx is returning 404 or 500

I wanted to pass requests coming in to my nginx server to anther IP with an endpoint. I have a .conf file listening on specific port 7070 and I want to pass requests coming into my http://xx.x.x.xxx:...
user avatar
0 votes
0 answers
55 views

Proxying to a proxy with nginx

I'm trying to use the proxy_pass directive to proxy requests to different servers. In the following conf, /api1 and api2 are proxied correctly but api3 is not. The server api3.server3.com runs an ...
user avatar
  • 131
1 vote
0 answers
190 views

How to Make NGINX to use System Proxy?

I am trying to setup a nginx server that forwards the incoming request to a corporate porxy (its a mcafee proxy) with a proxy header Host and the actual destination host something like ...
user avatar
0 votes
0 answers
106 views

proxypass with SSL kicks back to http ( untill i get to login page ) apache2

So here is the virtualhost in apache2 <VirtualHost *:100> ServerAdmin admin@example.com DocumentRoot /var/www/ Redirect "/" "https://192.168.31.10:500/" </...
user avatar
0 votes
0 answers
40 views

Apache / Websockets: Direct Sockets to Different (Or To Both) Ports Based On Path - ProxyPass

I am running a website on Apache. I have two apps that use web sockets, one is based on Node, which uses port 3000 and the other is based on Phoenix, which uses port 4000. Both apps also use a reverse ...
user avatar
  • 53
0 votes
1 answer
366 views

Nginx Proxy pass returns 50x error [duplicate]

How can I use or configure proxy_pass in NGINX in order to display my react application when someone visits my website? Below you can read the configuration I am using, but it is not working as I ...
user avatar
0 votes
1 answer
27 views

Nginx rewrites correctly for one but not the other

Basically, I am trying to use the proxy_pass directive to call a remote API. So far, this is what I got: server { location /a { proxy_pass https://a.com; rewrite ^/a(.*)$ $1 break; # no ...
user avatar
  • 131
0 votes
0 answers
54 views

Change Nginx proxy pass public path

I have a Python/Django API with a unique endpoint /videos running on my Debian server. The Nginx vhost looks like this: server { server_name example.com; location / { # Pass to ...
user avatar
  • 273
0 votes
1 answer
312 views

how to allow proxy pass with same location, with multiple context path

server { listen 80; server_name example.com www.example.com; location /consol { if ($request_method !~ ^(GET|POST)$) { return 405 "Not allowed"; } ...
user avatar
  • 1

1
2 3 4 5
12