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

nginx reverse-proxy, how not to pass the location

what we have: reverse-proxy server with nginx - external: 10.xx.xx.xx - internal: 192.xx.xx.1 internal server running a service on port 9010: 192.xx.xx.15 We get already the service if we connect to the proxy via https://10.xx.xx.xx/ But the goal…
Maurice
  • 1
  • 1
0
votes
0 answers

How to redirect from https to http in a specific nginx location block for a URL

this question does not duplicate of this link My application is web based and developed in django, deployed through UWSGI application server with nginx as a reverse proxy. The task is to redirect from https to http for a specific URL, but this sound…
Shashank
  • 141
  • 1
  • 8
0
votes
1 answer

Tomcat behind nginx proxy provides new jsessionids for each request

I have a ReactJS based web app being served by nginx on /. This web app contacts a web service running on Tomcat which is running on port 8443 on the same machine. I have set up a proxy_pass on nginx to pass any request received on /APIServer to the…
Desmond27
  • 1
  • 2
0
votes
0 answers

Apache - Redirect HTTPS to HTTP

I have the following situation: An ubuntu server running Webmin with Apache. And I have a static website deployed on it, with SSL already configured. On the same server I have a standalone application that runs on port 3000, without apache being…
Macaret
  • 101
  • 1
0
votes
1 answer

Apache 2.4 vhost configuration - How to "hide" parts of the url for CMS and browser

Apache 2.4.38 on Windows We are just about to start using a new content management system, Enonic, hosted in the cloud. I am now trying to configure an internal alias for the test instance to point to the instance in the cloud. This is quite…
rhellem
  • 295
  • 1
  • 5
  • 14
0
votes
0 answers

Reverse proxy on apache2 listening on VPN

I am trying to use apache reverse proxy in order to expose a webapp running on a vm in the vpn network to which the host machine is connected. Basically, it should look like this: VM(192.168.56.107) --> host(192.168.56.100,10.10.10.10) --> reverse…
user3161330
  • 101
  • 2
0
votes
1 answer

Any way to reduce redundant location block codes in Nginx config?

Is it possible to DRY a bunch of location blocks in Nginx with the exact same configuration, just different routes? Take a look at the following snippet off my Nginx .conf, for instance: location / { proxy_pass http://127.0.0.1:3000; charset…
TheLearner
  • 157
  • 1
  • 6
0
votes
0 answers

Combining local static folders and proxy-pass on Nginx

I am trying to setup an Nginx server (Centos 7) as front-end proxy server to a live server running Apache. (When its working, I will make the proxy server the live server). I have basically got it working as-is, but I want to try and speed it up by…
0
votes
0 answers

NGINX Apache Setup Won't Run Apache Functions

I've set up NGINX in front of Apache to pass requests to. For one of my subdomains, I've made it so the traffic goes through NGINX and then through Apache, as the PHP system on this subdomain requires Apache to run (needing functions such as…
0
votes
0 answers

NGINX proxy pass can't find static files

I am trying to host my website and CMS on the same Ubuntu server and am trying to access them both, but I am struggling with the configuration. The website is currently a simple HTML page, and the CMS is a Node app. The CMS app has an index page on…
sandervspl
  • 1
  • 1
  • 1
0
votes
1 answer

X-Accel-Redirect resume broken download

I am using Nginx X-Accel-Redirect to serve a large protected file (several GBs) to users. The server application processes the URL and verifies the download token (embedded in URL) and starts or rejects the download. The problem is that the download…
0
votes
0 answers

apache proxy pass returning 403 forbidden

I wanted to add VirtualHost to an existing apache 2.4 reverse proxy running on centos 7, but I encounter a problem resulting in error 403. I have the following VirtualHost Setup ServerName newhost.example.com …
0
votes
0 answers

Apache: "pass request body failed" due to client uptime

I have a Rest API built in Python that is served by gunicorn in a docker container behind an Apache proxy which handles SSL. Requests to that API are made from Python on a Windows 10 machine using the requests package: Python 3.4 (Win 10) -(HTTPS)->…
wonkypie
  • 1
  • 1
  • 1
0
votes
0 answers

Apache2 Forward and Reverse Proxy

I have a web server and some load balancers, to avoid exposing the external IP's of the LB's I wanted to install a Ubuntu Apache2 (doesn't have to be) based Proxy. I want it to: Client ---> Domain ---> Proxy ---> Web Server and reply: Web Server…
Tom
  • 1
  • 2
0
votes
0 answers

Should NGINX resolve proxy_pass from localhost?

I'm newbie in nginx, please help. Here is my simple config: server { listen 80; server_name kama.com.local; location / { proxy_pass http://localhost:7565; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; …
Vladimir
  • 123
  • 1
  • 1
  • 5