All Questions
Tagged with reverse-proxy apache-2.4
379
questions
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
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 ...
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
125
views
Apache reverse proxy at /home-assistant path still loads resources from /
locally, home assistant is at http://192.168.1.125:8123
I need reverse proxy available at https://example.com/home-assistant
Virtual host https://example.com exsits and it should not be touched
My ...
0
votes
1
answer
140
views
How to configure an Apache reverse proxy for GitLab with websocket?
I have a self-hosted GitLab instance behind an Apache reverse proxy. Since one of the last releases, real-time updates stopped working. One symptom I could detect was that some websocket calls (to ...
1
vote
1
answer
36
views
Apache: Meaning, purpose and semantics of the URI after the pipe symbol within the SetHandler directive?
What is the meaning, purpose and semantics of the fcgi:// URI after the pipe symbol
within the SetHandler directive?
From my understanding of the docs, everything after the scheme part fcgi://
of the ...
0
votes
1
answer
143
views
How to run Supabase and t-rex with TLS reverse proxies
I have a VPS with 2 services at different ports and self signed SSL for an IP. It is Supabase at port 8000 and t-rex service at port 6767. I need them both on HTTPs like https://192.0.2.1:8000 for ...
0
votes
1
answer
182
views
Use ProxyPass only if remote address is in subnet
I have a php application running with a mostly default config that lives in var/www/html/app:
<VirtualHost *:443>
ServerName myhost.com
DocumentRoot /var/www/html
<Directory "...
0
votes
0
answers
62
views
How to configure Apache 2.4 to use ProxyPass to rewrite the websocket's port?
My Nodejs WS ( pure Websocket, I am not using socket.io ) works on port 5000 and I wish to proxy pass to the domain itself.
I have tried to add the following lines but I still failed to get myself ...
0
votes
0
answers
142
views
How do I set the timeout for the static health check of a Balancer Member of an Apache reverse proxy
I am trying to configure a reverse proxy. I currently have
<Proxy balancer://myset>
BalancerMember http://IP1:80 retry=4
BalancerMember http://IP1:80
Balancermember http://IP3:80
...
0
votes
0
answers
119
views
Apache2: html_proxy does not kick in?
I am serving a webapp through reverse proxy (external https://myserver.com/test is proxied to that server's :8052/), and I would like to rewrite HTML links to make it functional; but they are left as-...
0
votes
0
answers
383
views
Docker phpMyAdmin reverse proxy using Apache - assets not loading
I am running a phpMyAdmin container that I'd like to access via Apache reverse proxy. When I try to access it, it seems like the site itself is loading, i.e. the title of the page shows "...
0
votes
1
answer
263
views
FastAPI is masking Apache2 inside Docker
I setup a webserver and a FastAPI in a single docker container.
Here are the relevant parts of the Dockerfile:
FROM ubuntu/apache2:2.4-22.04_beta
[...]
# Apache conf
RUN echo '<VirtualHost *:80>\...
0
votes
0
answers
1k
views
Is it possible to proxy websocket connections with mod_rewrite?
Currently, I have an Apache web server configured to respond to myserver.com. Additionally, I have a second web server application listening on port 4321 in localhost on the server. I want this web ...
0
votes
0
answers
255
views
Multiple NextCloud instances behind NGINX Reverse Proxy
Currently I have a NGINX proxy running that manages all domains and SSL certificates.
Now I want to access two NextCloud instances on one server (Apache, different paths) via different subdomains.
Eg.
...
0
votes
1
answer
319
views
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 ...
0
votes
1
answer
260
views
Change the script path in an Apache proxy handler
I'm developing my application with 2 containers: apache and php-fpm.
Apache serves requests, and delegates PHP execution to the php-fpm container in its vhost:
<FilesMatch .php$>
...
1
vote
1
answer
473
views
Reverse-Proxy login page not works on Apache2
I'm trying to setup a reverse-proxy on a debian11 with apache2 and it works but when you access the serveur on background by the reverse at the beginning you arrive on a login page in the application ...
1
vote
1
answer
647
views
Local Apache TLS Proxy error on Reverse Proxy for local services
I'm struggle now for a longer time with the following issue:
[gnutls:error] [pid 1878860] [remote 127.0.0.1:8282] ssl_engine_set: mod_proxy requested TLS proxy, but not enabled for piped.[CENSORED].de:...
1
vote
0
answers
218
views
SOAPUI What causes "error in msg parsing: xml was empty, didn't parse!"
Currently, I have a structure which takes a SOAP request, fires the request at a reverse proxy (a script written in Lua) which takes a copy of the SOAP request and then passes that to the webserver, ...
0
votes
1
answer
799
views
Setting up SSL in Apache2 with backend docker app
I'm running Ubuntu server (18.04) on an Azure VM, with Apache2 (2.4.29). I have a backend app running in docker on the same host that is called by my site. This works easy enough without SSL. I added ...
0
votes
1
answer
692
views
GRPC streaming not working when forwarded via Apache reverse proxy
I have a gRPC service and I want to deploy it behind an Apache reverse proxy.
The apache configuration is similar to the following:
LoadModule http2_module modules/mod_http2.so
LoadModule ...
0
votes
1
answer
199
views
Apache serve service from local host on subdomain
I am trying to use Apache to serve multiple sites at the same time, the structure I want to obtain is composed by a main site at example.com and use the subdomains radarr.example.com and sonarr....
0
votes
1
answer
449
views
Apache Reverse Proxy setup with some exemptions
I would like to install Mattermost on my server also running ISPConfig hosting software.
ISPConfig has a mechanism to automatically obtain and install Letsencrypt certificates based on the hostname. ...
0
votes
0
answers
650
views
Apache 2.4 Reverse Proxy using HTTPd
I created an AWS EC2 instance with a public IP, lets call it 100.0.0.0.
I added a rule for the security group to allow incoming HTTP traffic on port 80 for any IPv4.
I added to the config file in: /...
1
vote
1
answer
3k
views
Websocket with Apache 2.4.52 and Ubuntu
I am trying to follow tutorial located here for messaging system using RatChet PHP
https://www.twilio.com/blog/create-php-websocket-server-build-real-time-even-driven-application
I have my domain ...
1
vote
0
answers
114
views
Reverse Proxy config from Nginx to Ubuntu Apache2
The following are 2 corresponding sets of config statements. The first one is for Nginx and the second one for Apache2 servers.
The Ubuntu Apache2 config code is modelled after the Nginx code to ...
0
votes
0
answers
556
views
haproxy PROXY protocol to mod_remoteip sometimes shows wrong IP address
This is a very odd problem I noticed while checking Apache access logs. I have HAProxy in front of a bunch of containers. It inspects the incoming requests (Host header or SNI) and forwards the ...
1
vote
0
answers
640
views
Apache's remoteip module does not populate the client_ip
In an intranet environment, I have a relatively involved scenario, all on the same server:
IIS server acting as a reverse proxy listening on 443
forwards matching requests to localhost:1080/redmine
...
0
votes
1
answer
394
views
Apache 2 basic reverse proxy config not working, getting 404 error
I started a new server in a virtual machine, and I can access its homepage from the browser. I set up a docker container hosted on port 90 which I can also access. To link /app/ to localhost:90 I ...
0
votes
1
answer
81
views
Foswiki behind reverse proxy
I installed Foswiki on a local computer: http://<localcomputer>:<localport>/foswiki.
It works nice for many years. This computer is not reachable by the internet.
Now I want to access it ...
0
votes
0
answers
24
views
reverse proxy example.com/cn to cn.example.com
I have one joomla website on amazon linux2 with apache and php 7.4 as example.com and i am managing languages with plugin, like if i open example.com/cn it opens in chinese language and example.com/fr ...
3
votes
1
answer
4k
views
Apache 2.4, reverse proxy, forward credentials (basic auth)
I want to pass the basic authentication credentials to the reverse proxy server.
Example of how it works now:
User accesses the website, Apache is configured to ask for basic auth, user enters ...
0
votes
1
answer
636
views
Apache2: How to Proxy the same url with different ports?
we have multiple different /apex instances.
now we want to proxy the requests trough an Apache2-Server like this:
request for instance1: http://proxy:8080/apex -> http://apex1:8080
request for ...
0
votes
1
answer
1k
views
Nginx reverse proxy issue in redirection without trailing slash
I am running an nginx reverse proxy with apache as a backend server.
I have multiple applications running without any problems, but some php-js websites fails to redirect properly.
when I sent a ...
1
vote
0
answers
510
views
How to enable SSL Proxy only on certain Locations in Apache
I am trying to use Apache as reverse proxy.
For some locations I want to convert the client's HTTPS request to HTTP requests on the server.
For another location I want to keep the client's HTTPS ...
0
votes
0
answers
2k
views
how force a website to run on port 80 with reverse proxy?
I have a website in a private subnet, which is working on apache 2.4 on port 8090 with reverse proxy to nginx 1.18 on port 80, meaning all static content operating nginx, and all dynamic - apache.
I ...
1
vote
1
answer
1k
views
Apache Proxying to Subdirectory doesn't work
I have a .NET app running on port 5000 and a node.js app running on port 8080. I want to forward requests to the /app directory to the node application. I have the following configuration.
<...
0
votes
1
answer
497
views
SSL Cert Issues with Proxy Server Configuration
Running into an issue when applying an SSL cert to one of our reverse proxy servers - "This server could not prove it is <servername>". I think I might be confusing some of the SAN ...
0
votes
0
answers
307
views
reverse proxy Apache that redirects filtering by ip and path
I am trying to create a reverse proxy with apache that if it receives a request with /thisismypath as path and the ip address that make that request is 192.168.2.12 the it should redirect to 192.168.1....
0
votes
1
answer
2k
views
Apache VirtualHosts not working/redirecting? (Reverse proxy)
I am trying to set up Apache as a reverse proxy on a new Ubuntu 22.04 virtual machine. We have an existing Apache reverse proxy on Ubuntu 18.04 where everything is working as intended. This new ...
0
votes
0
answers
92
views
Apache Reverse Proxy BandWidth Mismatch
I have a fleet of Apache reverse proxy in AWS . I see Access logs of my reverse proxy is always under reporting bytes IN and bytes Out when compared to what is noticed in origin server logs as well as ...
0
votes
0
answers
2k
views
Apache proxypass css/js to their specific URLs
I have two of my backend sockets running at port 9000 and 9001. Both provide a WebUI with CSS,JS and PHP. But both are different websites and when I use proxypass for both sites, how can I load css,js ...
1
vote
0
answers
1k
views
Apache reverse proxy to site using NTLM authentication fails with mod_rewrite but not mod_proxy
We have a reverse proxy server in front of an Exchange server and would like to lock down more of the paths. Minimized examples:
Fails (but works for all pages that don't require authentication):
<...
0
votes
1
answer
862
views
Can NOT bind host port 14433 to container port 433 using localhost, but https works using container IP (for example 172.21.0.2)
When I do lynx localhost:14080 from host, it works. The website is loaded from the container.
When I do lynx localhost:14433 from host, it does NOT work.
When I do lynx https://localhost:14433 from ...
0
votes
1
answer
971
views
Apache reverse proxy routes with similar partial url
I have this simple reverse proxy setup in my docker container(apache) each mapped to a different microservice with two different docker containers.
#serviceOne
ProxyPass /abc/xyz/ http://serviceOne:...
0
votes
0
answers
611
views
NGINX Proxy Manager and Plesk Obsidian
I am searching for an easy way to setup reverse proxy with nginx proxy manager in combination with Plesk (Obsidian) - how can I do this easy? WHenenver I disable nginx in plesk to use nginx proxy ...
0
votes
0
answers
263
views
Apache reverse proxy to Node server bypass
I have an Apache server that is working as a reverse proxy to a node server. I'm trying to bypass the proxy for a static file i.e. ads.txt
I have the following conf:
<Files "ads.txt">...
1
vote
0
answers
790
views
Apache Reverse Proxy rewrite rule for complex URL. "Too Many Redirects" error
I am trying to configure a reverse proxy to my backend server.
This is my previous configuration which is working.
Define REMOTE_ADDR proxyserver.domain.com
<VirtualHost *:443>
...
1
vote
2
answers
898
views
Reverse proxy in Apache + CentOS for HTTPS requests to PostgREST webserver [closed]
I would like to make https requests to my postgREST webserver, which by design doesn't support https. I spend several days now I don't know any further...
My setup
My server is running on CentOS 7.9....