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

ProxyPass in , and proxy_pass in , are directives of the default module that are used to specify which or server should process the .


ProxyPass in :

https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass


proxy_pass in :

http://nginx.org/r/proxy_pass

http://ngx.su/src/http/modules/ngx_http_proxy_module.c#ngx_http_proxy_pass

578 questions
0
votes
1 answer

Proxypass error for different destination URL

I have enabled proxypass setting for subversion apache server. Its working fine for below setting. Also able to checkout the repository. ProxyPass /svn/testing_migration https://example.com/svn/testing_migration/ ProxyPassReverse…
suchit
  • 1
  • 1
0
votes
1 answer

Redirect api calls from subdomain to main domain using Location proxyPass

I want to redirect my api calls from sub domain to main domain. My api server is in example.com. Request url is http://foo.example.com/api?service=work&action=all_work, but my file system calls should come through. ServerName…
0
votes
2 answers

proxy_pass CDN file in NGINX, but get 502 bad request

I am using S3 to store an xml file and use CloudFront to distribute this file. I want to use nginx proxy_pass to locate this file without change my domain name. such as www.mydomain.com/filename.xml The S3 url for that file is :…
cccc
  • 23
  • 4
0
votes
2 answers

Nginx forward request to URL

I am trying to forward a http request to a server specify in the url of the request, but I always get a 404 as result. This is my config: worker_processes 2; daemon off; error_log /var/log/nginx.error_log info; events { worker_connections …
Giuseppe Pes
  • 101
  • 1
  • 2
0
votes
1 answer

Fetch real IP using nginx proxy

I have a subdomain set up on my site that hosts a Flask application using nginx with the following server configuration. This is hosted on a droplet on DigitalOcean. server { listen 80; server_name subdomain.mysite.com; location / { …
Sudeep
  • 101
  • 1
0
votes
1 answer

Nginx handling Domain Name Forwarding to tomcat

I have domain name xyzabc.com and I am hosting few sample apps at my local machine Since My ISP blocks port 80, So I have to forward my domain name to Port 81; So I Defined the Forwarding (http://xx.xx.xx.xx:81) in godaddy and I configured 2…
Tiwari
  • 101
  • 1
0
votes
0 answers

NGINX subdirectory with rewrite and proxy_pass

I want the proxy to be able to return everything needed to correctly return what is needed to view http://joelmccune.com through an NGINX proxy location, http://nginx/joel. What I have so far works fine for the root of the site, but when the root…
knu2xs
  • 101
  • 2
0
votes
1 answer

Nginx Reverse Proxy static content and relative pass issue

I have the next setup: Main server main.com and additional standalone server (additional.com), which should be served via proxy from the subpage url keeping relative paths, etc. main.com/additional However, trying to setup proxy_pass with…
Dima Arbuzin
  • 3
  • 1
  • 4
0
votes
1 answer

Reverse Proxy to login page

I’m struggling to get my reverse proxy to work as desired… My Apache instance should work as a reverse proxy to a backend application server, like specified in the proxypass/proxyreverse directives below. Desired behaviour is: client requests…
Leeveeo
  • 3
  • 4
0
votes
1 answer

Nginx proxy_pass unexpected result

A few weeks ago, I tried to use proxy_pass to make a proxy, in order to display a web page which is not https within my page by using iframe. it works well, and I just try to set another proxied server, it doesn't work. conf: server { listen…
McGrady
  • 101
  • 3
0
votes
1 answer

How can i use apache web service to rewrite URL?

I have configured apache2 web server on my lan server and now I am configuring virtual host. My objective is to replace the local IP-address in place apache host IP in url. For example : I have installed apache web server on 172.30.17.102, when I…
0
votes
1 answer

Nginx redirect host to another application's subdirectory

I'm trying to redirect : AAA.myhost.com --> http://127.0.0.1:888/AAA BBB.myhost.com --> http://127.0.0.1:888/BBB first : is it possible to do this ? second : I know how to redirect to internal app ... my nginx config : worker_processes 1; user…
M. Gara
  • 163
  • 1
  • 2
  • 10
0
votes
1 answer

Redirect proxy passed URL to main URL

I have a wordpress blog hosted on a server (say server-blog) at, say, https://blog.example.com and our python application hosted on separate server (say server-py), url of which is https://www.example.com. To get SEO juice out of our blog on primary…
0
votes
1 answer

Nginx proxied webmin still requesting over HTTP

I have a webmin installation that is proxied by an nginx server. My nginx config looks like: server { listen 80; server_name mysite; return 301 https://$server_name$request_uri; } server { listen 443 ssl http2; include…
Fabrizio Mazzoni
  • 671
  • 1
  • 9
  • 24
0
votes
0 answers

nginx: Avoid php "catch-all" location on path

first of all sorry for my english. I'm trying to create a location on my nginx config file to send all requests to that location through a proxy to another port. All other requests should go to local server, so I use a "catch-all" location to do…