Questions tagged [reverse-proxy]
A reverse proxy is a type of proxy server that fetches resources from a specific defined set of servers for a client. It is used in cases when there is an advantage to not exposing the web server with the content directly whether it be for security reasons or because of a lack of available public IP addresses.
3,209
questions
0
votes
0
answers
294
views
reverse proxy forward to multiple servers sequentially
I have server A and Server B.
I would like to set up a reverse proxy server the takes client requests and forward it to server A and when processed by Server A the Reverse proxy server should forward ...
1
vote
1
answer
145
views
Can a Linux router utilize its congestion control ops on internet traffic from other computers or does it have to act as a reverse proxy?
I was wondering if a small raspberry pi like device could utilize Linux's congestion control algorithms on any internet connection on a different windows/linux pc. Is turning the linux device into a ...
0
votes
0
answers
235
views
Load applets through nginx reverse proxy
I have a web application hosted on Tomcat 8 serving applets. The HTML pages with applets work fine when i am accessing them over http. I have further configured SSL over nginx reverse proxy. Now when ...
0
votes
0
answers
1k
views
Nginx redirected too much
I am out of ideas of what is my Nginx configuration issue.
I'm using these docker images:
nginx, jwilder/docker-gen, jrcs/letsencrypt-nginx-proxy-companion, odoo, postgres
When I test the ...
0
votes
1
answer
546
views
What's the most effective way of running an IIS reverse proxy for a Hyper-V Ubuntu Machine
I've got Nextcloud set up in a Hyper-V machine, and IIS running a reverse proxy into the Hyper-V machine. Right now, it's set up so that the reverse proxy rewrites the url using the IP address, but ...
8
votes
3
answers
2k
views
How to tune TCP for high-frequency connections between two nodes
I've been scratching my head for the past few days, trying to come up with a solution for the following problem:
In our data center we have a F5 running on BigIP hardware that acts as a single ingress ...
1
vote
1
answer
835
views
How to remove a subpath from an URL in nginx proxy_pass?
Here is the configuration for my reverse proxy server:
server {
listen 8085 ssl;
server_name localhost;
location / {
proxy_pass http://192.168.85.56:8080;
}
}
For an incoming path, e.g.:...
0
votes
1
answer
474
views
How many ports HAProxy machine opens
I have below port range configured
cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000
So, 28232 will be no.of available ports
I have HAProxy Configured to take 5000 connection with 2 processor
...
0
votes
1
answer
2k
views
AWS CloudFront Traffic Not Reaching EC2 Instance
I've got an API app on EC2 that only knows HTTP, and it's listening on port 8080. Its code does not return 504 for any request. I need CloudFront to be an SSL-Terminating reverse proxy because the app ...
0
votes
2
answers
3k
views
Proxypass changing URL Apache Reverse Proxy
I am trying to connect my jupyter notebok server (:8888 port) via reverse proxy server
I have such rules:
ProxyPass "/serv8888" "http://localhost:8888"
ProxyPassReverse "/serv8888" "http://...
0
votes
1
answer
378
views
Apache proxy: Allow remote server access to specific endpoint
I have a apache reverse proxy set up which works beautifully, only allowing my own IP:
<Proxy http://192.168.0.184:8080*>
Order deny,allow
Deny from all
Allow from my.own.ip.which....
1
vote
1
answer
2k
views
nginx Reverse Proxy to a Subdirectory
I am using an nginx reverse proxy to hit multiple different servers. However, I've found a case I cannot seem to make work. How do you make the proxy forward to a subdirectory?
I am trying to do ...
0
votes
1
answer
566
views
nginx reverse proxy ignoring server_name
I have an nginx reverse proxy which accepts SSL requests and then passes them to an SSH tunnel to another server. It is ignoring server_name and I do not know why.
It loads this config first...
...
0
votes
1
answer
208
views
CSS & images breaking after mapping application deployed on Tomcat to my domain
I've installed Tomcat 9.0.27 on my Digital Ocean droplet running Ubuntu 18.04.3.
I deployed my Java WAR on Tomcat and am able to access it on the URL:
http://example.com:8080/app_name
I want to be ...
3
votes
1
answer
8k
views
No protocol handler was valid for the URL / (scheme 'ws')
Trying to setup a websocket proxy using apache2, I get the following error:
No protocol handler was valid for the URL / (scheme 'ws'). If you are using a DSO version of mod_proxy, make sure the proxy ...
0
votes
0
answers
275
views
Using mod_rewrite to reverse proxy between https domains
I'm on a shared host, so can only do redirects via htaccess, but the plan is to have multiple subdomains (each with a letsencrypt certificate issued via cPanel) to point to a universal set of php ...
0
votes
0
answers
402
views
How to implement a PHP script between NGINX reverse proxy server and website server?
How to implement a php script between reverse proxy server and the website server?
So it can go as follows:
Domain -> reverse proxy server -> go trough php script -> upstream to website IP ...
0
votes
0
answers
246
views
apache reverse proxy - remove domain
I want my virtualhost "new_target.domain.com" to point via apache reverse proxy to "https://target.com". This works fine but on new_target.domain.com the a hrefs are not correct. They point to https://...
1
vote
0
answers
1k
views
How to run grafana via nginx reverse proxy?
I am reading through the official Grafana behind a reverse proxy documentation, but I still cannot get to see the result and I don't know why.
Here is what I did:
I added the following two type A ...
2
votes
1
answer
1k
views
IIS10 - NODEJS - 502 Web server received an invalid response while acting as a gateway or proxy server
We are running a NodeJS server on Windows using a reverse proxy and application request routing. Basically, the node server is running locally on localhost:3000, and IIS is rewriting any external ...
1
vote
0
answers
116
views
Nginx reverse proxy ignores cache headers
I'm using nginx as a load balancer. here is the simplified version of my nginx config file.
upstream myUpstream {
server server1.com;
server server2.com;
}
server{
location / {
...
1
vote
0
answers
142
views
nginx reverse proxy and rewrite rule
This question is actually quite close to my requirement where, the Nginx configuration rewrites the URL for $1.
Reproduced here:
location /foo {
rewrite /foo/(.*) /$1 break;
proxy_pass ...
0
votes
1
answer
109
views
Apache 2.4 proxy with single page static site
I have running Jira on my server with proxy like so:
<VirtualHost *:80>
ServerName server.name.com
ProxyRequests Off
ProxyVia Off
<Proxy *>
Require all granted
...
3
votes
1
answer
450
views
Nginx proxy_pass long directive
i want to do proxy_pass
from https://foo.bar/api/v1/users/{userId}/store/{storeCode}/status to https://bar.foo/api/v1/users/{userId}/store/{storeCode}/status
and also
from https://foo.bar/api/v1/...
1
vote
0
answers
37
views
haw to send traffic from vpn to http server
hello i have a vpn site to site i need configure http porxy to wheen
wheen client A send traffic to B with vpn server B send this request to other API and server B send the result to client .
...
1
vote
1
answer
3k
views
Bitwarden docker with apache reverse proxy
I have an Apache2 server for my cloud and Collabora_online(with Apache reverse proxy) and now I've tried to install Bitwarden on my server(self-hosted) but there is one problem, in the Bitwarden ...
0
votes
2
answers
3k
views
nginx proxying S3 public bucket hosted by minio service
I'm trying to do what I would have thought was the easiest proxy directive in the world, proxying a public S3 bucket.
This is my config:
server {
listen 80;
listen [::]:80;
server_name ...
3
votes
1
answer
2k
views
NGINX max_size and keys_zone, could not allocate node in cache keys zone
We have a very dynamic and high-traffic application and are using NGINX caching with dynamic URLS. We want to cache these URLs for repeated requests.
We have run into an issue a couple times while ...
0
votes
0
answers
630
views
Nginx, limiting request per second for uwsgi application
How to set/estimate proper value for nginx's "limit_req_zone" and "limit_req"?
I have nginx as reverse-proxy for Django app. During loading for example admin panel (where Django request a lot of css/...
1
vote
1
answer
1k
views
Nginx path reverse proxy to another webserver always returning root
I have a docker setup of two containers connected to the same network. I have a Nginx reverse proxy on one of the containers that looks like this:
location /some/directory/ {
resolver 127.0.0.11 ...
1
vote
0
answers
880
views
.NetCore with Nginx as reverse proxy - OAuth exception - Invalid non-ASCII or control character in header: 0x000D
I have a .net core application that is running using Nginx as reverse proxy and I get this error when I try to login using Facebook:
Invalid non-ASCII or control character in header: 0x000D
at
...
3
votes
1
answer
5k
views
Nginx reverse proxy hide url
Here is my nginx proxy.conf file,
server {
listen port 9090;
root /usr/share/nginx/html; # not sure whether this line is needed or not
index index.html; # not sure whether this line is ...
0
votes
1
answer
184
views
Reverse proxy with mod_rewrite
I am trying to achieve this:
subdomain.mydomain.com/customerA -> internalserver1/application/
subdomain.mydomain.com/customerB -> internalserver2/application/
This broght me to the login page of the ...
2
votes
0
answers
749
views
Requests to ipvsadm server hang in state SYN_RECV, direct requests to real server OK
I have IPVS configured as:
$ ipvsadm --save
-A -t localhost:<port> -s rr
-a -t localhost:<port> -r <other_hostname>:<port> -m -w 1
It seems to be running:
$ ipvsadm
IP ...
-1
votes
6
answers
3k
views
Prevent direct access to my server using reverse proxy
I have a web server setup in Microsoft Azure and it has a domain name associated with it like www.example.com. This web server is very critical and i don't want anyone other than 1 or two people to ...
0
votes
2
answers
934
views
Web Proxy to avoid port forwarding
Hello. I wonder if anyone could help me define which solution to use. I need to run a cloud server that acts as a proxy for HTTP requests, but on the web server side, I have no fixed IP or possibility ...
3
votes
0
answers
265
views
Don't cache small responses with nginx
I am using nginx for reverse proxy with caching. And I have a backend that sometimes returns 200 HTTP code for failed requests, with just an empty set for a body. I'd like to configure nginx in a way ...
0
votes
1
answer
5k
views
XAMPP how to secure forward proxy for port 443
I need some help with securing my test XAMPP server on ports 80 and 443.
I am running Apache 2.4.7 on Windows 7 machine.
The setup is the following:
I am redirecting all traffic coming on my server ...
0
votes
1
answer
857
views
HTTP 400 483 with Apache ProxyPassMatch and RewriteCond
I keep getting an error of:
apache_1_da0b6d97082f | 172.24.0.1 - - [16/Sep/2019:15:58:52 +0000] "GET /logi HTTP/1.1" 400 483 "-" "curl/7.64.0"
But I have no idea why? It seems the request does not ...
0
votes
1
answer
784
views
Transparent ssh tunneling
I have an SSH tunnel defined in /etc/ssh/ssh_config. It contains:
LocalForward 0.0.0.0:8000 some-service:80
LocalForward 0.0.0.0:8001 some-other-service:80
I would still like to be able to access ...
0
votes
1
answer
741
views
NGINX Proxy Pass not working properly
I tried setting up NGINX as a reverse proxy for routing to different servers, but I encountered some issues.
So I basically want to access different LXD containers on my server with the hostname "...
1
vote
0
answers
1k
views
nginx proxy_pass fails to serve static files
I have been trying to achieve the following, thought failing miserably for days now.
I am trying to reverse proxy 2 services based on url paths as per follow:
http://host/api/ => http://backend/
...
0
votes
0
answers
932
views
Nginx multiple subdomains with reverse proxy
I have a few apps running from the same server on different ports, I want to host them on different subdomains, I'm using Nginx, I can get it to work with 1 app, but once I add a second server block ...
1
vote
0
answers
1k
views
I'm using NGINX as reverse proxy with multiple subdomains. Redirect a subdomain to different port
I have NGINX setup as reverse proxy and a wildcard cert from letsencrypt.
I also have Nginx setup to forward all sub domains to one port (8080) of localhost (10.0.1.4). And this works fine.
domain....
1
vote
0
answers
2k
views
AH02579: Init: Private key not found - Apache VirtualHost
I am trying to set up a virtual host in apache to reverse proxy in Node.js and is giving this error when I try to use SSL certificate, it says it can't find the key, even if I type cd "directory_here" ...
1
vote
2
answers
2k
views
nginx reverse proxy to radicale SSL error
Continuing attempting to configure nginx to use a reverse proxy to radicale that is running on local host and I'm now getting SSL errors having followed the documentation on proxy I created my own SSL ...
0
votes
1
answer
463
views
Apache2 / Redirect to Subfolder w/ ReverseProxy
I am attempting to redirect / to a subfolder on an Apache2 reverse proxy server vhost for a server behind it. Reverse proxy is working, however the redirect is not. What would be the best way to do ...
0
votes
1
answer
277
views
nginx as a proxy for apache and jenkins
I'm using Ubuntu 19.04 and I would use Nginx (at localhost:80) as a proxy (reverse ?) for Apache2 (at localhost:8080) and Jenkins (at localhost:8000).
The question is: why all the images are not ...
0
votes
1
answer
401
views
Conditionally attach certificate to request in nginx reverse proxy, based on available header values
I have my webapp with Nginx reverse proxy in front acting as LB. The hosted webapp has two components. UI and API. UI is normally accessible, but API needs client certificates for authentication. Both ...
6
votes
3
answers
34k
views
nginx proxy_pass to https
So I would like to proxy_pass requests to an https backend server, however, every time I try to reload nginx server with https:// configured backend I get the following error:
nginx: [emerg] https ...