Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
Jivko Jelev's user avatar
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;...
eudoxos's user avatar
  • 363
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 ...
John Oliver's user avatar
-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 ...
divB's user avatar
  • 570
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 "...
user1936810's user avatar
0 votes
0 answers
115 views

Apace Reverse Proxy to Docker Container - CSF Breaking Container App

I've been at this all day now and can't seem to figure it out. I installed listmonk on my server and set up an Apache Reverse Proxy to it: <VirtualHost listmonk.ygoprodeck.com:80> ServerName ...
GenesisBits's user avatar
1 vote
2 answers
305 views

How to use OCSP validation for upstream server certificate in NGINX/Apache reverse proxy

I have an application that needs to make HTTP requests to a remote server. The connection should be secure using TLS. Due to external specification the application must validate the presented server ...
Rosso's user avatar
  • 111
0 votes
0 answers
221 views

Intercept HTTP POST response from Reverse Proxy in Apache

I have following configuration in my Apache server and requirement is to intercept HTTP POST request to /api/submit endpoint and trigger a CURL request to a remote URL before forwarding it to backend ...
user8373873's user avatar
0 votes
0 answers
150 views

Apache2 folders redirect to IPs

I have installed Apache/2.4.56 (Debian), a noip URL and severals LXC containers. I need to access to the web apps inside the LXC containers: example.com/app1 -> LXC container 1 (with Zend2) example....
Lethal's user avatar
  • 1
0 votes
1 answer
138 views

Internal Server Error - ProxyPass & ProxyReseverse (Apache2)

I'm trying to set a ProxyPass & ProxyReverse up so that I can share a domain between 2 different servers. Looking to achieve: Domain: https://example.com Server A: https://example.com/quotes ...
YaBCK's user avatar
  • 103
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 ...
user2690527's user avatar
0 votes
0 answers
23 views

Internal sources from proxy not being redirected in Apache

I set up a proxy like this: ProxyPass /frontail http://192.168.0.66:9001 ProxyPassReverse /frontail http://192.168.0.66:9001 When I call 192.168.0.66/frontail, it correctly redirects to 192.168.0.66:...
Leandro 86's user avatar
0 votes
1 answer
652 views

Issue with Web Server running PHP thru Reverse Proxy

I'm using an NGINX reverse proxy, with wild card certs installed on the reverse proxy. Routing the NGINX reverse proxy traffic to standard web servers that are running Apache2 and NGINX Web services ...
Surfingjoe's user avatar
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$> ...
amacrobert's user avatar
0 votes
0 answers
177 views

Reverse Proxy on different Server

Hi i’m searching for a way to reverse proxy a Website with Websocket with apache2 but the Website and the Reverse Proxy are running on different Isolated servers. I’ve tried the normal way to ...
T0b1a5's user avatar
  • 1
0 votes
1 answer
189 views

Apache2 mod_substitute not modifying URLs

I'm trying to use Apache2 as a reverse proxy to access an application (calibre web) running inside a Docker container. Since the application is using redirects (more details here), I'm trying to use ...
GTP95's user avatar
  • 11
0 votes
0 answers
337 views

Proxy apache2 to container gives 404 error

I am new to apache2 I've followed every tutorial on the internet, I think I've seen every question but it didnt help. The problem is that My container contains flask app. Container listens to 45654 ...
Innokesha's user avatar
1 vote
0 answers
553 views

Apache reverse proxy websockets correct way

<Client A> <---> <Server A: reverse proxy> <----> <Server B> I don't want the Client A to connect to Server B directly, well it shouldn't that's why I'm using a reverse ...
Steve Moretz's user avatar
0 votes
1 answer
61 views

apache proxy, protect folder, exclude file

I'm using apache as a reverse proxy and I was wondering how can I protect a folder but exclude a file within that folder. For example if I use <Proxy http://192.168.1.10/myfolder> Require ip x....
stocton12's user avatar
0 votes
0 answers
162 views

apache2 reverse proxy, how to serve multiple domains with backend recognizing only 1 valid uri

I have an Apache reverse proxy set up and my backend service is configured on a specific static ServiceUri="site.com". I would like requests coming for multiple domains a.site.com/data, b....
Mnemosyne's user avatar
  • 131
0 votes
1 answer
110 views

Configure SSL for Apache Reverse Proxy

I want to redirect HTTPS connections to my domain towards a unique subdomain using Apache2 reverse proxy. I want all the connections that come to a.example.com to be redirected towards $random$.b....
Mnemosyne's user avatar
  • 131
0 votes
2 answers
465 views

Does apache ProxyPass handle tls for websocket too?

I'm new to proxypass, Let's say this is our config: <IfModule mod_ssl.c> <VirtualHost *:443> # The ServerName directive sets the request scheme, hostname and port that # ...
Steve Moretz's user avatar
1 vote
1 answer
144 views

HTTPD different vhost & reverse proxy settings for subfolders on same host&port

Please, I have been trying to configure httpd with no luck. I need following behavior: if I access https://example.org/, https://example.org/anything/.../... -> I need proxy to localhost:8080 (...
tomas's user avatar
  • 133
1 vote
0 answers
1k views

Error 503 Service Unavailable

We have a debian based reverse proxy server which is under testing for product scanning for a store and all of a sudden it didn't connect and started showing 503 service unavailable. The next day it ...
sameer's user avatar
  • 19
0 votes
1 answer
393 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 ...
Tom743's user avatar
  • 1
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 ...
BrotCast's user avatar
0 votes
0 answers
272 views

connecting domain to a server and port forwarding to show website hosted on another server

I have a website on server A with IP address of 1.1.1.1 and the domain is example.com. I also have another server B which IP address is 2.2.2.2. I want to connect the domain example.net to server B ...
Sina Nouri's user avatar
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 ...
Manuel Sarica's user avatar
0 votes
0 answers
200 views

Apache2 behind NGINX: MOD_REWRITE only works without HTTPS

For days I can't get my head around the following problem: We have an application (Faveo) which has two requirements for going through the setup wizard: HTTPS & MOD_REWRITE. Faveo is running on ...
HeadKnockr's user avatar
0 votes
0 answers
479 views

apache proxy forward to a dynamic url set in the http header

I have an app server, which uses an apache server as a forward proxy to access the Internet. The forward proxy config on the apache server looks like: <VirtualHost 10.10.10.1:8080> ...
roland luo's user avatar
1 vote
2 answers
2k views

Accessing server's web server on local network with its local IP address

I have a server with Apache as a proxy for requests to a Node web service. I am currently able to connect using a browser outside of my local network using my domain name: https://mydomain.ca. I ...
grasswistle's user avatar
0 votes
1 answer
264 views

Apache2 simple reverse proxy forwarding http traffic to lxd container only loads plain html very slowly on graphic browser

The actual web servers run on LXD containers, while the host Apache2 simply forwards http traffic to the containers. The setup is simple on the host, everything else is default: <VirtualHost *:80&...
seamux's user avatar
  • 1
0 votes
2 answers
7k views

"CORS Multiple Origin Not Allowed" - using parse-server and apache2

I am using apache2 as a reverse proxy for my parse-server. In order to allow Cross Origin Requests I originally tried setting: Header always set Access-Control-Allow-Origin "*" in the ...
serverNewbie's user avatar
0 votes
2 answers
5k views

Using apache reverse proxy to send all requests for /blog to internal wordpress server

I have a website written in react, and now I wanted to add a blog section to the site. The blog is going to be based on wordpress. The react app runs in a docker container, and I use the wordpress ...
smac89's user avatar
  • 159
0 votes
1 answer
181 views

Apache2 Virtual Host Proxy Forward

Hi all I am trying to use a virtual host to forward streaming.fusion.tk to my internal emby server form my webserver. I have setup a config file called streaming.conf in /etc/apache2/sites-available/ &...
Fusion's user avatar
  • 11
1 vote
2 answers
2k views

Reverse Proxy to local container

I need run Kafka on docker with web UI on some specific domain AND LINK, for example: http://somesite.com/kafka I am using this docker-compose.yml. version: '3.3' services: zookeeper: image: '...
genderbee's user avatar
  • 891
2 votes
0 answers
234 views

How to handle proxy call in apache

I have a reverse proxy setup as follows in Apache: Server A with address www.proxyserver.com/graphql is the reverse proxy server. It maps to: Server B with address example.com This kind works properly ...
Ming Hieu's user avatar
0 votes
1 answer
427 views

Apache ReverseProxy and external IP

I'm running an apache web server behind an apache reverse proxy. The problem that I have is that if I put in the backend server a php file containing <?php echo '<pre>Server IP: '; print_r($...
Vagelis Melidonis's user avatar
0 votes
1 answer
87 views

Reverse proxy blog.example.com to example.com/blog using Apache

EDIT - Added Vhosts config for the target subdomain. I am trying to reverse proxy blog.subdomain.com to tld.com/blog. The current config I have right now redirects to the subdomain rather than render ...
Sahil's user avatar
  • 133
0 votes
1 answer
650 views

Nginx Containerized coexisting with Apache server

I have a VPS with Ubuntu server, which is running a flask (python) web app, using UWSGI, through reverse proxy with Apache, for the domain "a.com". Both the flask app & the Apache aren'...
Lopofsky's user avatar
  • 103
0 votes
1 answer
279 views

Web app on a VPS. How to make it appear on a subdomain?

I'm using a personal VPS (Ubuntu 20, Apache2) to host a web app. Currently there are 2 static sites, site1.com and site2.org, both working. I installed an app that is currently available on port 8065, ...
nivek's user avatar
  • 103
0 votes
1 answer
6k views

Apache proxy pass does not work with HTTPS

I want to redirect a certain sub-path to a backend application running at port 19011. My config file (/etc/apache2/sites-available/my_domain.conf) looks like this: <VirtualHost *:80> ...
Egemen's user avatar
  • 101
1 vote
0 answers
242 views

Apache Proxy balancerMember with query string parameter

I'm working on with apache proxy, I want to use Proxy balancer member with query string value, but it's not worked I expected. Here's my configuration. Listen 49154 <VirtualHost *:49154> ...
Kneelick's user avatar
0 votes
1 answer
122 views

Configure a webservice as subdirectory of a domain hosted in a different server

I have a website with an hosted domain https://www.somesamplesite.com in a PC (A) with local network IP 192.168.1.10 and a service running on a different server hosted in a different PC (B) running at ...
AndreaF's user avatar
  • 225
10 votes
1 answer
7k views

How can I forward requests from my web server?

This is a Canonical Question about reverse proxies, how they work and how they are configured. How can I serve requests from a service on a different port or from a different server with the same ...
Gerald Schneider's user avatar
0 votes
0 answers
1k views

(Reverse Proxy) Apache REMOTE_ADDR Returns (null)

I have a server that sits behind a reverse proxy that require client IP address, and to achieve that I'm trying with the lines below to add X-Forwarded-For in the request header, RequestHeader set &...
Zia's user avatar
  • 3
1 vote
1 answer
682 views

Apache Reverse Proxy : put a htaccess type password on a specfic URL

I have an Apache2 reverse proxy managing multiple domains. Inside I have a vHost configured like this : <VirtualHost *:443> RewriteEngine On ServerName www.example.com ...
Processor's user avatar
  • 121
0 votes
1 answer
76 views

Apache2 Reverse proxy forward / to subdomain

I have a webserver on my network that I am accessing via a reverse proxy. I can set up apache2 to forward correctly so that www.thesite.com/subdomain/ goes to 192.168.0.whatever, however the hyper ...
jeffpkamp's user avatar
  • 121
5 votes
2 answers
4k views

Apache2 mod_substitute not working in <Location>

I have a working Reverse Proxy that is active only on a specific Location in my site, in this case for example: www.example.com/reverseproxy/site1 I am reverse proxying site1. I want to replace some ...
Paul_Rent's user avatar
0 votes
2 answers
1k views

Jenkins or Apache changes the URL when using reverse proxy

I have a VPS that I use to run a personal Gerrit and Jenkins server. After a year of neglect I finally decided to get it working again. Previously I have used gerrit.server.com and jenkins.server.com, ...
Jaxc's user avatar
  • 1