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

Multiple ProxyPass directives for Webmin on Debian Apache Server

I am trying to achieve what is described under: Webmin In A Sub-Directory Via A Proxy on this website Webmin under Apache Guide ...but, with more than one webmin (all on different servers, but proxied thru the main server), arranged into folders,…
0
votes
2 answers

Do I have to open a port for mod_proxy and ProxyPass to work?

Here's my situation: I have a server running Apache on port 80, a node.js application on port 8000, and I'd like to know if I have to open ports in order for ProxyPass and mod_proxy to work. Related
jrg
  • 219
  • 3
  • 12
0
votes
1 answer

Question about the syntax of the ProxyPass directive

All over the internet I see examples of people using ProxyPass, where the syntax looks something like this: ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ But, that doesn't work for me. …
djangofan
  • 4,182
  • 10
  • 46
  • 59
0
votes
1 answer

Switch 302 redirect to 301 with Apache 2 ProxyPass in front of Tomcat 6

I'm trying to optimise my site for SEO and it seems as though their is a 302 direct in action for the http requests. I'm hosting my app on a Tomcat 6 server which lies behind an Apache 2 server. I use the ProxyPass method…
Gerard
  • 53
  • 5
0
votes
3 answers

Looking for equivalent of ProxyPassReverseMatch in Apache to fix missing trailing forward slash issue

I have two web servers, www.example.com and www.userdir.com. I'm trying to make www.example.com as the front end proxy server to serve requests like in the format of http://www.example.com/~username such as http://www.example.com/~john/ so that it…
Alex Man
  • 3
  • 1
  • 4
0
votes
1 answer

proxy_pass rewrite nginx

location /(0-9)* { #rewrite ^/(0-9)*$ /disp\.cgi?$1 last; rewrite ^(.*)$ /disp\.cgi?$1 break; #include proxy.conf; proxy_pass http://127.0.0.1:8999; } Hi I'm trying to rewrite (0-9)*…
johnny
  • 1
  • 1
0
votes
1 answer

I run Webmin and I want it to be accessed with two URLs, both using proxypass in apache

This is what I am trying to do: NameVirtualHost * ServerName testsite.org ServerAdmin webmaster@testsite.org DocumentRoot /var/www/ ServerName panel.testsite.org …
user36644
  • 3
  • 1
0
votes
1 answer

nginx GET request with internal server name instead of public domain name

I have set up a nginx reverse proxy with Ubuntu Server 22.04 LTS. The Abacus web application should be accessible with https://abacus.contoso.com from the internet. The internal server name is srv06. My current config looks like this (that's…
0
votes
0 answers

Apache VirtualHost Same domain for Front and API

I have a multi-tenant application that is resolved using subdomains with the pattern *.localhost. The front-end of the application is accessible at http://localhost:3000/. To achieve the desired functionality, I need to proxy all requests that do…
Gogo
  • 101
0
votes
1 answer

Apache module proxy_html not working

I have a Joomla 4 site running in a Ubuntu 22.04 server (hostname = web-02). The Internet facing web server running in a Ubuntu 20.04 server (hostname = web-01) has configured as a reverse proxy for several applications. Both servers run…
cpliu338
  • 111
  • 3
0
votes
0 answers

Apache websocket and web app in the same directory structure

I have a web app running in LAMP server now I want to have some features transferred to web socket without changing the directory structure which means the root directory of the web app should be secure HTTP and the "websock" directory under the…
Engin Yilmaz
  • 111
  • 3
0
votes
0 answers

Proxypass not functioning "500 internal server error"

I am annoyed at having to constantly type in mydomain.com:10000 to access an application I have. I read on here that you can set up proxypass so I can get app.mydomain.com to serve up mydomain.com:10000so its simple and I don't have to type in the…
Ox3
  • 1
  • 1
0
votes
0 answers

Apache Gateway to Dockerized FPM Container?

I have a dockerized app with a web fpm interface (monica:fpm-alpine), and a vps on the internet. I want my vps to be an https gateway to this app. I thought I could use a virtual host include file and apache mod_proxy to do this, but all I get is…
stav_nan
  • 101
  • 1
0
votes
1 answer

Apache ProxyPass to IIS results in 503 or complete timeout

I have an IIS machine on LAN behind an Apache machine which is exposed to the internet. I have a simple proxy set up, which is intended to pass traffic to the IIS machine directly from the Apache machine. ServerName…
0
votes
0 answers

reverse proxy between apache

I need to set up a reverse proxy between two Apaches. My setup looks like the following, but it's not working. ProxyPass http://example.com/ ProxyPassReverse http://example.com/ On the domain.com side, I have an…
Félix
  • 1