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
1answer
18 views

Proxy to a load balancer automatically add additional path

I'm running httpd 2.4.6 on Redhat 7.9. I'm trying to use ProxyPass work with Balancer. Here is my configuration. Balancer <Proxy balancer://mycluster> BalancerMember http://10.10.12.103:8080 ...
0
votes
1answer
28 views

NGINX proxy_pass serving index instead of requested java-script file with status 200

I have set up a proxy_pass looking like this: location /review/app-template/16-update-to-proxy_pass/ { proxy_pass http://$server_name:54341/review/app-template/16-update-to-proxy_pass/; ...
0
votes
1answer
19 views

Ensuring Redirects on a Proxied Server work correctly

So I am currently trying to understand what configuration is a good idea for an nginx proxy. I am a bit stuck on the following two options: proxy_set_header Host $host; proxy_redirect default; (which ...
1
vote
0answers
21 views

Apache reverse proxy configuration (/context to /)

I'm having this issue trying to proxy a site to another context on a different domain What I currently have ? I have a fully functional web site running on the following URL: https://helloworld....
0
votes
0answers
21 views

NGINX UDP Proxy Pass to HTTP

I built a NGINX reverse proxy where I listen for UDP traffic on port 53 and pass it on to an HTTP endpoint with modified headers. Once the headers are modified, I send the packet to the target. http....
1
vote
1answer
34 views

Apache SSL Proxy Pass not working, but it does with VirtualBox NAT port forwarding

I configurated Apache proxy pass on port 80 and 443. Port 80 works but it seems that for 443 I do not get any response. From my public ip I got no response from server. This are the virtual host ...
1
vote
0answers
54 views

how to config apache reverse proxy for multiple jboss remote instances?

I need to setup an apache reverse proxy with multiple jboss instances as target server (with different IP). I've already set in my DNS an url http://jboss-test.domain.com and i would like to redirect ...
0
votes
0answers
15 views

How can proxy_pass variables be used to reverse proxy Apache Flink using Nginx

I'm trying to proxy the Apache Flink UI using Nginx. The following works as expected. location /myflink/ { proxy_pass http://server.name.domain:9500/; proxy_redirect off; proxy_set_header ...
2
votes
0answers
13 views

Apache Proxy URL exclusion wont work

we are running an Apache/2.4.6 on CentOS. i am trying to setup an Proxy Endpoint on the Apache which is passing requests to internal Servers (target servers). So far the Endpoint does what it should, ...
1
vote
1answer
65 views

How do ProxyPass from Apache to node.js so I can drop the port number in my local URL?

I'm trying to use a domain name for local development of a next.js app. Normally, it fires up at localhost:3000 but I'd like to use site1.local (and no port). I've edited my hosts files to point the ...
0
votes
1answer
46 views

How to configure nginx proxy_pass to serve http images from https website?

I have django website and remote image storage. I want to proxy for example /images/ from django to server 10.0.0.40/images/. location /images/ { proxy_pass http://10.0.0.40/images/; } No errors ...
0
votes
0answers
602 views

ProxyPassReverse not working for URI

I have a blog.example.com and example.com. I am using ProxyPassReverse to render blog.example.com's content to example.com/blog. It's working well but the static files are hosted at blog.example.com/...
0
votes
1answer
28 views

Reverse proxy blog.example.com to example.com/blog using Apache

EDIT - Added Vhosts config for the target subdomain. I am trying to reverse proxy blog.subdomain.com to tld.com/blog. The current config I have right now redirects to the subdomain rather than render ...
0
votes
2answers
105 views

Nuxt.js program not running on the Main Domain with Apache in Ubuntu

I have a Nuxt.js program that I run on Apache in Ubuntu OS. When I port it to a subdomain like www.example.com, it works fine; But when I port it to the main domain such as example.com, my program ...
0
votes
1answer
100 views

nginx proxy to node and ssl on vue/node

EDIT: Error.log 2021/02/23 07:30:07 [warn] 233791#233791: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/nginx/selfSignedCerts/example.crt" 2021/02/24 ...
1
vote
1answer
32 views

Forwarding request made to my server to another server on the same path

I need to create a sub-directory mapping in the Apache server such that each request made to the path /another-path gets forwarded to https://some-website/another-path. How could I do this? If the ...
0
votes
0answers
14 views

apache2 spamming the error.log file after use of the proxy for web sockets

I've recently come across a problem where I had to use wss instead of ws on a PHP WebSocket server. After googling, I found that the solution is to add this line to apache2.conf: ProxyPass /...
0
votes
0answers
39 views

Redirect Nginx to a Wordpress running behind apache2 server

I have a unique problem that I don't how to put in and I can't change the situation (orders from above!). Please read it all before down-voting me. In this scenario, I have two servers, Server A and ...
0
votes
0answers
21 views

NGINX pass query string parameter to backend server using proxy pass

I have a HTML page. The page contains a button. On click of button, control is transferred to NGINX, which in-truns transfer request to backend server. <a onclick="onLinkClick(event)" ...
0
votes
1answer
52 views

How to point static folder in Nginx for a Django application

I have deployed a simple Django application in the AWS server and created a config file in the Nginx as follows. But its static files are not detecting. Location of my static folder location: /path/...
0
votes
1answer
45 views

Nginx proxy_pass domain to sub directory

I have a multi tenancy application that runs on port 3000, this app will dinamically load and generate contents for variuos websites ex. localhost:3000/webiste1.com/home , localhost:3000/webiste2.com/...
0
votes
0answers
17 views

How to point angular front end style folder in Nginx config file

I have two different angular applications, both serving on two different servers, and a proxy server to handle the request from both servers. But both angular build serves their style from a folder ...
0
votes
1answer
46 views

How to write nginx proxy pass for the Django application

I have deployed a simple Django application in the AWS server and created a config file in the Nginx as follows. server { listen 80; ...
0
votes
0answers
91 views

Add origin header to Apache vhost reverse proxy

I need to add an origin header to my reverse proxy Apache 2.4.38 vhost. I know that the Nginx equivalent (working) of the directive is: proxy_set_header Origin ''; How do I add the same ...
0
votes
0answers
37 views

Need support for adding nginx reverse proxy and styles

Nginx reverse proxy is not working. Currently, I have three servers and a proxy server. Nginx config file for the proxy server is given and its public IP be saying "public_ip" server { ...
0
votes
0answers
39 views

Nginx conditional proxy pass configuration

I have 2 different ( Node & Angular ) applications running under a domain. I am trying to configure nginx in way to serve like, whenever anyone access "domain.com" it should serve the ...
1
vote
1answer
64 views

Apache ProxyPass + RewriteRule?

I've set up an apache config to try to redirect /login and to ProxyPass all other requests: RewriteEngine on RewriteCond "%{REQUEST_URI}" "^/login$" RewriteRule "^/login$"...
0
votes
0answers
53 views

Issue with NGINX proxy_pass

Disclaimer: I have opened a similar question of stack overflow before realize that stack overflow is mean to code questions... My problem: I am trying to access a a web service connected to my nginx ...
1
vote
2answers
40 views

Apache modsec + ssl proxy loop

I have a server where we have the following setup: http://example.com -(REDIRECT)-> https://example.com Now we would like to add a simple ssl proxy(on the same machine where the A record is also ...
0
votes
0answers
15 views

Understanding rewrite directive with a subdirectory path

I came across the following in a proxy pass configuration. location /hi/ { rewrite ^/hi(/.*)$ $1 break; } Could someone please explain what does it mean? What does it do?
1
vote
1answer
81 views

Best practice to hide video url using Nginx proxy pass

To protect my video, I managed to hide my video url using Nginx proxy pass like this: location /video { proxy_pass https://myvideoserverfileserver.com/vod001.mp4; } As expected, I can play my ...
1
vote
1answer
61 views

Nginx to proxy_pass request and pass back the response

I've been struggling with setting up nginx as a reverse proxy. What I want to achieve is: Server 1 sends a POST request to: http://1.2.3.4:60009/pass (NGINX server) the NGINX Server passes it on to ...
0
votes
1answer
69 views

Apache ProxyPass doesn't seem to be proxying content from remote host

I am trying to create a proxy at a URL on my "master" site to a remote site, "east", but I get stuck in a redirection loop. This isn't the behaviour I was expecting - I understood ...
1
vote
0answers
38 views

Proxy error in server log

I’m running a React frontend on website.com, a second frontend on app.website.com, and a Node back-end on website.com:8080. Errors in server logs I have two errors in my server logs that show up quite ...
0
votes
1answer
24 views

Making the same website accessible from the subdirectory

I want my same website to accessible from a subdirectory. For example, right now my website is https://example.com What I want is, that it should also be reachable using: https://example.com/hi That ...
0
votes
0answers
57 views

Nginx proxy_pass works for sub-paths but not for root path

I have Nginx running on Ubuntu20 with a proxy_pass from https://example.com to 0.0.0.0:8000 which is a docker container. When I hit https://example.com/literally/any/path/at/all the proxy works as ...
0
votes
0answers
10 views

ProxyPass to https url Need help for version 2.4 apache

Team, I am really confused and tried multiple things to achieve this as for my RHEL6 host below URL working fine : ProxyPass /lookup https://spidr2-qa.myserver.com/lookup ProxyPassReverse /lookup ...
0
votes
2answers
73 views

Apache crash if I try to use ProxyPass on localhost to expose different services as subdomain

I have the following directory structure for multiple websites and services /var/www/html/site1 /var/www/html/site2 /var/www/html/site3 /var/www/html/serv1 /var/www/html/serv2 site1 folder hosts a ...
0
votes
1answer
155 views

Unexpected 301 redirects from Nginx when behind Nginx reverse proxy

Similar questions have been asked before here and here but none of them matched or solved the issue I am having. After a few hours of desperate problem solving I found a solution that was so ...
0
votes
2answers
684 views

Nginx: Unknown log format error

I have a proxy set up that is taking UDP traffic to load balance internal DNS. It is routing the traffic properly to my backend DNS servers, but I cannot seem to get the log formatting to work ...
0
votes
0answers
42 views

Nginx: Proxy requests to external server during DNS transition

I am migrating a site to a new location with another ip address. To smooth the transition for users and avoid as much downtime as possible, I plan to change DNS and then proxy requests from the old to ...
1
vote
0answers
366 views

Proxy_pass vs Fastcgi_pass

With one server/container on with nginx and another one with fpm, is it better to fastcgi_pass from the nginx to the fpm or proxy_pass to the fpm with addional installtion of nginx on the fpm? Both ...
0
votes
1answer
85 views

Nginx how to show IP blocked page?

I have a config like this for my Nginx server: server { listen 80; listen 443 ssl; ssl_certificate /etc/nginx/cert/domain.csr; ssl_certificate_key /etc/nginx/cert/domain.key; server_name ~^...
0
votes
0answers
48 views

Passing dynamic variables to proxy_pass in nginx

I need to proxy through a websocket with a dynamic port (and ultimately a dynamic domain name). I also want to use DNS in proxy pass. I can't seem to get a domain name to work with variables. This ...
0
votes
1answer
60 views

Sending cache headers only for a single request [or for a request following a certain path string]

I have the proxy pass in nginx config defined as follows: location / { proxy_pass http://localhost:3001; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $...
0
votes
0answers
38 views

Intercept 200 response codes with nginx

I know that with nginx i can intercept any proxied response codes higher than 300 with: proxy_intercept_errors on; error_page 404 =200 $request_uri; I would like to do the same thing, but for any ...
0
votes
0answers
41 views

apache web server 502 error proxy error when direct to an image url

Good day, I have an Apache web server, and I configure ProxyPass it to my application server. Everything is work unless the connection to the image in application server. I will hit 502 for the ...
0
votes
0answers
228 views

Nginx proxy_pass ungracefully close connection

I got a Nginx over Nginx configuration on my server. Server scheme Nginx A -> Nginx B -> PHP FPM (If you want to know the reason hidden below, it's because one of the two is in a Docker ...
0
votes
0answers
36 views

Nginx proxy server rule set up to achieve https

Currently, I have a proxy server and an application server ( In the application server the actual code was deployed). The Nginx configuration file for the application server was given below. There are ...
0
votes
0answers
26 views

Relative path link ignores proxy nginx

Gitlab server running pages at https://pages.example.com Gitlab pages correctly setup to serve one page at https://example.com/ instead of https://user.pages.example.com Because inabilty to cname from ...

1
2 3 4 5
11