All Questions
Tagged with apache-2.4 reverse-proxy
381
questions
0
votes
1
answer
151
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
29
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
30
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
55
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
114
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
92
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
378
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
149
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
113
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
0
answers
52
views
Server apache reverse does not encode coma in UTF-8
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 5 2018 01:47:09
centos-release-7-6.1810.2.el7.centos.x86_64
We are trying to solve a reverse problem and we need you help
Reverse proxy Apache ...
0
votes
1
answer
129
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$>
...
0
votes
0
answers
40
views
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 ...
0
votes
0
answers
66
views
For AWX, is it possible to authenticate at the reverse-proxy layer?
I have an AWX set up with an Apache reverse proxy for SSL reasons.
I know AWX supports SAML/SSO natively. However, we have a standard SAML set up that we use with multiple other applications, where ...
1
vote
1
answer
313
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
349
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:...
0
votes
0
answers
157
views
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.
<Location "/example/">
ProxyPass http://example.com/
ProxyPassReverse ...
1
vote
0
answers
140
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
0
answers
177
views
Pass on SOAP request body through a reverse proxy
Im trying to implement a reverse proxy which takes in a SOAP request, saves the SOAP body message (Envelope, header, body etc.). I would then like to change some of the content of the SOAP request and ...
0
votes
1
answer
522
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
370
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
0
answers
90
views
How to replace external-content.duckduckgo.com by ddg.example.com in Apache reverse proxy?
I'm trying to setup a reverse proxy for DuckDuckGo on Apache(ddg.example.com). Now I can visit DuckDuckGo home page and search something through my Apache server. But I found that the images in the ...
0
votes
0
answers
213
views
Apache - authorize users either by client certificate or by ldap group membership
I use Apache as a reverse proxy to check the authorization of incoming requests. Until now only Kerberos was provided as authentication method for "/" and client certificates for "/api&...
0
votes
1
answer
145
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
303
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
33
views
Apache ReverseProxy keeps redirecting to another virtual hosts
I have apache as a reverse proxy for Webmin (port 10000) backend. Both are on the same server. Here's my config file:
<VirtualHost *:*>
ProxyPreserveHost On
ServerName srvadm.****.com
...
0
votes
0
answers
26
views
Reverse proxy issue with secondary site
I have httpd.conf configuration like below,
SSLProxyEngine on
ProxyPassMatch ^/(.*)$ https://mysite1.com/$1
ProxyPassReverse ^/(.*)$ https://mysite1.com/$1
When I am running httpd and over the ...
0
votes
0
answers
438
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
2k
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
109
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
446
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
377
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
216
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
67
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 ...
1
vote
1
answer
3k
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
386
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
903
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
396
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
850
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
299
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
270
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
1k
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
85
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
1k
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
770
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
649
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
528
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
217
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">...