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,222
questions
0
votes
0
answers
32
views
Subdomain configuration
I have a website hosted on ionos where I configured gotosocial (written in golang) and it works on port 443 (let's call it mysite.com).
Now I want to enable a subdomain called sub.mysite.com that ...
1
vote
1
answer
57
views
Certbot failing on nginx reverse proxy: 404
I am trying to setup a Mastodon instance on Ubuntu 22.04. I have setup Nginx as a reverse proxy and now I am trying to generate an SSL certificate with Let's Encrypt. When I run certbot --nginx -d ...
0
votes
0
answers
42
views
How can I make reverse proxy for websocket requests on apache
I have a website written on Laravel with Reverb for websockets. Everything works except websockets. They are sent from the browser to the server in the form wss://mydomain.com/app (which throw an ...
-1
votes
0
answers
27
views
Dynamic reverse proxy router for one host
I have exactly one domain, and one port. Then, I want to route requests to that domain and port, based on request's prefix path, e.g. example.com/foo goes to Foo service, and example.com/bar goes to ...
1
vote
1
answer
66
views
Forward traffic for one hostname without proxy Nginx Proxy Manager
I have several hosts service1.example.com, service2.example.com behind Nginx proxy manager, where the NPM handles ssl and lets encrypt acme. Now I installed a new host newhost.exmaple.com that ...
1
vote
1
answer
5k
views
Apache as a reverse proxy not working for gunicorn
My Goal is to let client connect through https connection but apache serve it to my application which is running on same server over http. Here is my minimalistic apache configuration file (for ...
1
vote
1
answer
18k
views
The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /abcef/report
I am getting below error while trying to do some access website url.
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request ...
0
votes
0
answers
40
views
How to configure Envoy as a caching forward proxy with HTTP CONNECT support
Does anyone know if there's a way to configure Envoy as a caching forward proxy?
I've been trying to come to a config that would do that by following the samples and documentation for:
...
1
vote
1
answer
103
views
Incorrect HAProxy reverse proxy config?
I'm configuring my domain, and I want to set up HAProxy as a reverse proxy for all of my subdomains. Somehow I've got this configured incorrectly, and I absolutely have no idea what's wrong. Here's my ...
0
votes
1
answer
37
views
Nginx reverse proxy for home assistant not working
I normally access HA via https://home.lan:8123 and it works fine but I would like to access via https://home-assistant.home
accessing https://home-assistant.home I get nothing at all
If I only do http ...
1
vote
2
answers
7k
views
apache reverse proxy sometimes not working
I am using a digital ocean droplet (Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-52-generic x86_64)) to host both jira and confluence.
They are started on the same ip but different ports. I wanted to access ...
2
votes
1
answer
6k
views
Lighttpd reverse proxy HTTPS to another server on HTTP
I've a Lighttpd server running on HTTPS, and I want to have one subdirectory on the server act as a reverse proxy for a separate server that runs on HTTP. I've tried following guides on doing both ...
-1
votes
0
answers
16
views
Unable to detect missing reverse proxy configuration
I have configured a reverse proxy server that will allow the client to communicate to an endpoint URL (https://uat-enq.ctos.com.my:8443/ctos/Proxy?wsdl) via it.
This is the reverse proxy config file :
...
-1
votes
1
answer
83
views
How to redirect requests for a URL which uses the default ports to a new URL which uses custom ports?
We have an .aspx web forms "web application" running IIS 10 and .Net Framework 4.8.
We want to move it from the "Default Web Site" to it's own site "MyApplicationSite".
...
1
vote
2
answers
7k
views
Nginx configuration with HAproxy proxy protocol and internal redirection
I need to redirect HTTPS stream from HAProxy to Nginx without SSL termination and without loosing an info about the original client IP. Unfortunately I cannot change the configuration of default 443 ...
2
votes
2
answers
11k
views
GET to NGINX reverse proxy works but POST gives me a 502 Bad Gateway Response
I am using NGINX as a reverse proxy and just put up a new service written in Go.
The service has two endpoints
GET /tracking/ping
POST /tracking/customer
In NGINX, I am using the following to ...
0
votes
1
answer
17
views
apaceh2 proxy_html does not rewrite links (MWE)
I am using Apache 2.4.59 under Debian as reverse proxy. I can't make it rewrite links in HTML (at all), and I tried everything I could find on various forums: SetOutputFilter, AddOutputFilter, inflate;...
3
votes
3
answers
10k
views
Apache reverse proxy AH01597: could not open mime types config file
I'm trying to configure Apache HTTP server 2.4 as a reverse proxy on RHEL 7 server. When Apache starts up it complains in its log file (/var/log/httpd/error_log):
AH01597: could not open mime types ...
2
votes
1
answer
5k
views
HAPROXY : reverse proxy with TLS termination
I'm a newbie with HAProxy, and I want to use it to redirects HTTPS incoming requests to my HTTP backends servers.
I know, how it is possible to do it with Nginx, like this :
#SSL for all
server {
...
0
votes
1
answer
6k
views
Enforcing No Gzip on Nginx
I need to disable gzip in some cases, regardless of client's Accept-* request headers.
My Nginx's conf entry has the following directives:
gzip off;
more_clear_input_headers -t 'text/html' Accept ...
0
votes
2
answers
79
views
Nginx duplicate location "/.well-known/acme-challenge/"
I'm trying to set up a Nextcloud instance at VPS Server via a Docker image. I found some Docker-Compose on GitHub and tried to build it with my parameters. I registered my domains and checked that ...
4
votes
2
answers
10k
views
Nginx proxy_redirect with relative paths
I am not a big specialist in nginx administration, I am just a developer. I have two backends running in docker. Let me name them
backend1:8080
backend2:8081
Also I have Nginx exposing 443 port with ...
1
vote
1
answer
8k
views
Using ProxyHTMLURLMap to redirect css and js requests
I already have apache 2.4.19 installed on my Ubuntu 16.04 working with Tomcat.
I'm trying to add a node app and redirect all requests for /node to http://localhost:3000 with ProxyPass.
My node app is ...
0
votes
0
answers
47
views
Reverse proxy for static assets for multiple apps with nginx
I am hosting two apps (a custom "Notes" app, and File browser) on my raspberry pi with nginx.
I set a reverse proxy so I can access notes on localhost/notes and files on localhost/files.
I ...
1
vote
1
answer
7k
views
Nginx reverse-proxy to a cloudfront distribution and preserve gzip compression
I have problems trying to set up a nginx reverse-proxy that preservers gzip compression.
My setup :
I have a CLoudfront distribution with gzip compression enabled (as you can see on http://...
0
votes
0
answers
71
views
Hosting passbolt container on server using nginx reverse proxy
I'm trying to host passbolt on my server using container setup; on this server I also have to host multiple websites, each with a different domain;
so I thought of configuring an nginx reverse proxy ...
0
votes
1
answer
63
views
Apache config to proxy entire site with 1 exception
I have a website www.example.com on a hosting provider. We use that provider because it has a simple site builder my wife uses to maintain the site. Moving off of it isn't an option for this ...
2
votes
2
answers
5k
views
Spring Boot Apache SSL Reverse Proxy
I have a Spring Boot application that runs on a Amazon Linux server. I use Apache HTTP server as a proxy server for this application. Recently I installed Let's Encrypt SSL certificate and added a ...
0
votes
1
answer
4k
views
How to setup Docker Swarm + Traefik 2.4 + domain-based routing on bare metal with CLI?
I would like to scale my little Docker webapp and make it highly available. I have been using Docker for many years and K8s seems overly complicated, therefore I am looking into Docker Swarm.
Colorful ...
38
votes
4
answers
76k
views
Using Https between Apache Loadbalancer and backends
I am using an apache (2.4) server configured as loadbalancer in front of 2 apache servers. It works fine when I use http connections between loadbalancer and backends, however using https does not ...
0
votes
0
answers
32
views
Apache reverse proxy, add http request header according to REMOTE_USER use RewriteRule and RequestHeader
I'm trying to set up an Apache reverse proxy on server B for a private server A, which has three users: a1, a2, and a3. Server B utilizes a TXT map file to map all kinds of users on server B (b1,b2...)...
0
votes
0
answers
219
views
nginx proxy cannot connect to upstream
I have 2 spring apps running on port 8080 and 8081. I wanted to have nginx proxy for forwarding https request for either of them so I have this nginx
$cat /etc/nginx/conf.d/spring-apps.conf
# Redirect ...
11
votes
3
answers
46k
views
nginx reverse proxy multiple locations
I want to make a reverse proxy for multiple applications.
Something like this:
https://proxyip/app1 -> https://10.10.0.1/
https://proxyip/app2 -> https://10.10.0.2/
etc.
Currently, my config ...
-1
votes
1
answer
89
views
Basic Auth to NTLM conversion proxy
Is there any solution to not only proxy NTLM but to convert HTTP Basic Auth on the input side to NTLM on the output side?
Background: An internal SharePoint server using NTLM Auth should be accessible ...
0
votes
2
answers
4k
views
Blocked loading mixed active content
I am using react as my font end, and nodejs as backend which is running on localhost:3016 and I used nginx as reverse proxy and load balancer;
this my nginx conf file for the site
upstream ...
0
votes
0
answers
29
views
Traefik 2 fallback default router to Caddy
I'm using Traefik 2.11 and I'd like to forward all unmatched traffic to another reverse proxy (namely Caddy).
First question, is it possible to define a router with no rule ? (which would get a 0 ...
0
votes
1
answer
296
views
rspamd and Apache reverse proxy: navigation does not work (fragments in URL have no effect)
I have set up Apache 2.4.57 and Rspamd 3.6 on Ubuntu 23.10. I have configured Apache as a reverse proxy to the controller worker of Rspamd. I can access to Web UI of Rspamd, enter a password and I ...
0
votes
0
answers
50
views
Docker/WordPress in Sub-Path Redirects to Root
I installed WordPress+OpenLiteSpeed in Docker using this script, adapting it for my needs.
I'm hosting the blog in /blog sub-path here.
I added this to wp-config.php
define('WP_HOME', 'https://www....
0
votes
2
answers
197
views
Reverse proxy for streamlit
Streamlit app
I have a streamlit app running on port 8501:
https://dharmatech.dev:8501/fed-net-liquidity/
Here's how I'm starting the app:
streamlit run \
--browser.serverAddress dharmatech....
0
votes
1
answer
9
views
Apache2 HTTP proxypass or redirect conditionally
In Apache2 HTTP I'd like to redirect or proxypass conditionally.
For instance, I'd like to proxypass to a specific backend if the client's IP addr. is private. Otherwise, I'd like to redirect to "...
4
votes
2
answers
2k
views
IIS reverse proxy with caching to same host
I'm trying to get IIS to act as caching reverse proxy, but the cache hit is always 0%. And I really cannot tell why. And the docs always talk of a server farm setup, which is clearly not what I want.
...
0
votes
2
answers
8k
views
net err connection timed out
I have Apache/2.2.22 on Ubuntu 12.04. Apache is set as reverse proxy server.
So when accessed from a remote system, the page and contents are
displayed. But after some time the server seems to ...
2
votes
1
answer
5k
views
Reverse proxy subdomain to subfolder on IIS7
I'm currently trying to implement an Owncloud system at our company. I have the Owncloud system up and running on an internal webserver which is behind a firewall. I can access the installation ...
0
votes
2
answers
5k
views
How can I configure my nginx server to accept different subdomains and also port?
I have a server running on Ubuntu/Nginx. I have subdomains running from different internal ports. I want to expose one application to the public but not associate it with any domain/server name.
Below ...
3
votes
3
answers
4k
views
How to configure apache as a reverse proxy with the remote server specified in a query string parameter
Problem:
I'm trying to configure apache as a reverse proxy where the remove server is specified in a query string parameter.
Let's say I'm serving a site at mywebapp.com. If you navigated to http:/...
1
vote
2
answers
6k
views
Alfresco Nginx SSL Reverse Proxy
so I've been trying to reverse proxy Alfresco 5.0.d Community through our Nginx reverse proxy. Currently the reverse proxy is being used to serve only our helpdesk. This is the first time I've set up ...
0
votes
1
answer
140
views
Apache reverse proxy 503 custom page not working properly
I am trying to setup a custom 503 error page on my website. I am using this apache configuration.
# Exclude the Maintenance directory from being proxied
ProxyPass /Maintenance !
# ProxyPass other ...
0
votes
1
answer
162
views
Problems with Nginx location proxy pass
I am no expert in nginx, so sorry if any information is missing or not complete.
I have a website running under http://server-ip:3000/abc/xyz. This website also loads some assets from http://server-ip:...
0
votes
0
answers
29
views
HAProxy configure same domain with different port
I have haproxy configuration like this
frontend http-in
bind *:80
bind *:443 ssl crt /etc/ssl/haproxyssl/cert.pem
mode http
#default_backend backend_servers
...
2
votes
2
answers
4k
views
Apache reverse proxy based on header
So I have a configuration for apache that is working in 99% of the cases.
It is checking a header value in the request and based on that it is redirecting to the correct API version url with a 307 ...