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
-1
votes
1 answer

nginx: Append to proxied URL with proxy_pass

I'm dealing with some legacy issues where I have to reconfigure servers hosting a PHP based application. One of the decisions was to move away from Apache onto Nginx. Now the application hosts two kinds of responses; /some/path -> HTML…
Ashesh
  • 233
  • 2
  • 13
-1
votes
1 answer

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on VirtualHost _default_:443 and routing /app1 for…
-1
votes
2 answers

Apache proxypass not working

Im trying to redirect http://domain.com/fw to my firewall, which is 192.168.x.x. When using proxypass, i get this errors in my log, and a 404 in my client: [error] [client x.x.x.x] File does not exist: /var/www/fw This is my vhost…
Henk
  • 1
  • 1
  • 2
-1
votes
2 answers

Proxy_pass 127.0.0.1 in nginx does not work

I install nginx as a reverse proxy. If I use: proxy_pass http://127.0.0.1:81 it does not work. But if I use: proxy_pass http://domain.com:81 it works. And I can use browser to access to http://domain.com:81 and http://ip:81 Could anyone explain…
KingOfDCP
  • 7
  • 1
  • 2
-1
votes
1 answer

Keep url in address bar with a proxy reverse on nginx

I have a web application where users can create their page. The web application will generate a URL like this for each page created : https://my-domain.com/page/12345. I would like to give my users the possibility to use their own domain / subdomain…
-1
votes
1 answer

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 the port. This is site.conf:
-1
votes
1 answer

Remove subpath (context root) in nginx for a java app

The app is on a Payara server and with a context root nocodeapp-web-front-1.0 I don't want to have this context root in the url. This nginx config gives the intended result for the index page of the app (it is live at…
seinecle
  • 101
  • 4
-2
votes
1 answer

nginx proxy_pass works on http but fails on https

When I pass http:localhost:9000 to proxy_pass then it is working. But When I pass https:localhost:9000 then it fails pid /var/run/nginx.pid; worker_processes 2; events { worker_connections 65536; use epoll; multi_accept on; } http…
1 2 3
38
39