All Questions
Tagged with reverse-proxy apache-2.2
526
questions
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
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
0
answers
46
views
Nginx serves wrong DocumentRoot
I have an NGINX reverse proxy with Apache running on Linux22. My goal is to serve a file in a new documentroot, but for whatever, the Nginx Default conf serves the old apache2 index file. The ...
0
votes
1
answer
428
views
Apache Cannot See PM2 Node Process
I have Apache running on Ubuntu 20 and I keep getting this error in /var/logs/apache2/error.log:
[proxy:error] [pid 7064] (111)Connection refused: AH00957: http: attempt to connect to 127.0.0.1:4000 (...
0
votes
1
answer
65
views
best practice of disable cpanel from edit apache main conf file [closed]
i have a centos server controlled by cpanel, i have some proxy i want to set for my main domain, my configuration work clearly at /etc/apache2/conf/httpd.conf, but any edit in cpanel will remove my ...
0
votes
1
answer
303
views
Apache VirtualHost Same domain for Front and API
I have a multi-tenant application that is resolved using subdomains with the pattern *.localhost. The front-end of the application is accessible at http://localhost:3000/.
To achieve the desired ...
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
0
answers
4k
views
Nginx upstream wss proxy SSL_read() failed (SSL: error:0A000126:SSL routines::unexpected eof while reading)
What I need is
Client <--wss---> nginx <--wss--> server
I am doing a wss proxy, I have already got it working on Apache but I want to switch to nginx now here's the apache config:
<...
1
vote
1
answer
6k
views
AH01114: HTTP: failed to make connection to backend: localhost
I know some of you might think that its a little bit off topic here, but am not sure whether its fault of server OR fault of my config file, so...
I made React.js project , but it needs server side ...
1
vote
0
answers
580
views
Apache ProxyPass only proxying URL, but not page assets
So I currently have a proxy configuration that looks like the following:
ProxyPassMatch ^/foo/bar/(.+)$ https://xyz.domain.net/$1
ProxyPassReverse ^/foo/bar/(.+)$ https://xyz.domain.net/$1
...
0
votes
1
answer
913
views
apache reverse proxy not working
I am using my apache container as a reverse-proxy and trying to access one of my VM services. It is working when I configure like,
ProxyPassMatch "^/(.*)$" "https://host1:443/$1"
...
1
vote
0
answers
570
views
How can I proxy pass applications to locations different from "/" with Apache?
Let's say I have three applications on my server: node-red (1880), jupyter (8888) and pgadmin (5433)... I can successfully create a localhost proxy pass with them individually as the following:
<...
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 ...
0
votes
1
answer
90
views
How can I port an Apache RewriteCond and RewriteRule to ngnix?
I have to convert an Apache reverse-proxy configuration that uses RewriteCond and RewriteRule, to Nginx.
How can I convert something like this to nginx configuration?
(this is in the main/only <...
0
votes
0
answers
355
views
Apache Reverse Proxy using mod_proxy
0 Introduction
I'm trying to setup a server with a main website hosted on ports 80 and 443 (let's call it example.com) and a section on this website that serves umami analytics hosted on port 3000 (...
0
votes
1
answer
559
views
Blocking Port 8080 from direct IP access but allow access via domain (Virtualhost Config)
I want to access web server from http://subdomain2.domain.com from URL but not from direct IP (http://1.1.1.1:8080). For instance, below is my virtualhost config file (site2.conf) in /etc/apache2/...
0
votes
0
answers
384
views
How to reverse proxy to a container then through domain name to access the site
I set up a WordPress site with docker composer via Portainer. The site can access by the IP address.
How can I set reverses proxy and access the site by domain?
I tried to put the proxy block in the ...
0
votes
1
answer
1k
views
setting up reverse proxy to google.com while maintaining prior webservice hosted on apache
server {
listen 80;
server_name example.com;
location / {
rewrite ^/(.*)$ https://$host$1 permanent;
}
}
server {
listen 443 ssl;
server_name example.com;
...
-1
votes
1
answer
2k
views
Using Apache proxy pass not forwards with port
I have some websites on my server and few of them have proxy pass and they are passing some port to some subdomain.
But now I'm trying to add another subdomain for Webmin, but it doesn't forward to ...
3
votes
1
answer
2k
views
Misdirected Request HTTP 421 Error when using Nginx but not Apache as reverse proxy
For a specific use-case, I want to put a reverse proxy (RP) in the cloud in front of an application already packaged with another RP listening to HTTPS only. I don't have any access to the ...
1
vote
1
answer
4k
views
Create subdomains under a single IP/domain in an Nginx Reverse Proxy?
I'd like to be able to create a subdomain in Nginx Reverse proxy. As it stands right now, I have a properly configured and usable reverse proxy that resolves properly. The problem arises when I try to ...
0
votes
0
answers
677
views
Unifi Reverse Proxy
Is there a way to put the following ports behind a reverse proxy using apache 2?
UDP 3478 Port used for STUN.
TCP 8080 Port used for device and controller communication.
TCP 8443 Port ...
1
vote
1
answer
342
views
Tomcat Trailing Slash With Proxy Forwarding
I am running Tomcat 9 behind an Apache 2 server on Ubuntu 18. I am using a reverse proxy to send traffic to Tomcat with the following in the apache conf file:
ProxyPreserveHost On
ProxyPass "/" "...
0
votes
0
answers
3k
views
Nginx - Serve proxy pass target as IP instead of internal DNS
I frequently use Nginx as reverse proxy for deserving all my internal hosted applications.
Most of the time, these applications are called with a IP-based address & everything works well.
This ...
0
votes
2
answers
2k
views
Nginx Apache reverse proxy with php-fpm
trying to install nginx with apache revers proxy, apache itself does sent to php-fpm to port 9000 on localhost
so apache http on port 8081, apache https 444
nginx 80 and nginx ssl 443
php-fpm port ...
1
vote
1
answer
276
views
Does Apache reverse-proxy pipeline requests to origin servers?
When configuring Apache as a reverse proxy (i.e. using ProxyPass or RewriteRule [P]), does it ever pipeline the requests to origin servers, or are they always sent non-pipelined?
This is important to ...
1
vote
2
answers
572
views
How does Nginx act as both reverse proxy and web server? [closed]
This might be a naive question. But I'm too new to client and server concept and wanted to know.
I understood what a Reverse proxy is - a server that sits in between clients and origin servers and ...
0
votes
1
answer
2k
views
nginx mixing cached content between my different domains
I don't know if this is a bug or I am defining cache incorrectly, I have a nginx cache (reverse proxy) server that is used by 2 different domains (mydomain1.com and mydomain2.com), different content, ...
0
votes
1
answer
1k
views
reverse proxy - understanding proxy pass - apache mod_proxy
im running tomcat on my linux server and i want use a reverse proxy for this. After reading the manual in apacha for mod_proxy , i didnt really understand the /path in the proxypass .
i make a small ...
0
votes
1
answer
226
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 ...
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" ...
0
votes
1
answer
543
views
Protecting access to CGI programs via reverse proxy
I am still a noob and autodidact in the network field, so please forgive me if what I am going to ask is just wrong.
I have a web application based on JavaScript and PHP and served from my Apache web ...
0
votes
1
answer
579
views
Reverse proxy does not work on Apache in Cent OS 6.9
I created the sites-available and site-enabled folders, I added the site.domain.com.conf file with a virtualhost in my domain site.domain.com to do reverse proxy in a Nuxt node.js application, which ...
0
votes
1
answer
778
views
Apache2 reverse proxy with response caching
I'm using Apache as a reverse proxy for an application running on a local port. I want to cache responses from this application in memory. So requesting the same URL frequently should give me cached ...
0
votes
1
answer
782
views
Former Proxy Config for Apache 2.2 Webserver not working for Apache 2.4
On my previous server I had a perfectly functioning Apache 2.2 Configuration.
On one hand this said perfectly functioning Apache 2.2 config has the
purpose of acting as a Load-Balancer for a Web-...
1
vote
1
answer
7k
views
Apache reverse proxy gets redirection
I'm trying to set up Apache as a reverse proxy. Here is the essential part of its configuration:
NameVirtualHost 10.16.10.245:9443
Listen 10.16.10.245:9443
<VirtualHost 10.16.10.245:9443>
...
0
votes
3
answers
217
views
Name based virtual hosting on non-routable IPs
Vague title I know but I wasn't sure how to summarise what I am trying to achieve.
Basically, I have an internet router port forwarding port ext port TCP 443 to the same port on an internal IP ...
5
votes
3
answers
2k
views
NGINX Not Serving "Fast" Stale Content with proxy_cache_background_update
We are running NGINX in front of our backend server.
We are attempting to enable the proxy_cache_background_update feature to allow NGINX to async updates to the cache and serve STALE content while ...
1
vote
1
answer
2k
views
My Web application gives CORS error after adding HTTPS using Let's Encrypt
This is my application : https://cfslpro.com/student_portal/
Front end is done by AngularJS and back end is done by Node.JS. Hosted in Apache server. ( Digital ocean Linux 16.04 )
You can try login , ...
0
votes
1
answer
369
views
SSH to different devices behind router using domain names without Nginx/Reverse Proxy? [duplicate]
I'd like to access multiple different devices residing on my home network, from anywhere else in the world, using custom domain names.
I'm running a standard (commercial) router provided by my ISP, ...
1
vote
1
answer
530
views
Convert IIS Proxy Rewrite to Apache .htaccess
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://192.168.1.6/{R:1}" ...
0
votes
1
answer
371
views
Website (IIS via Apache ProxyPass / ProxyPassReverse) serving wrong content intermittently
I have an IIS website that serves content via Apache (ProxyPass and ProxyPassReverse - the reason for this weird configuration is historical). The Apache is behind other company proxy servers. The ...
1
vote
0
answers
52
views
Issue with Apache 2.2.34 using as Reverse Proxy to call service on BizTalk server 2016
We are having problem in using Apache 2.2.34 as a reverse proxy.
Scenario - Call from third party over internet hits apache in DMZ to call a service exposed by ESB - BizTalkServer 2016 [esbdev ] in ...
1
vote
1
answer
2k
views
Apache: resources not loaded after a redirect with proxypass
Configuration:
One virtual machine with Docked installed (10.10.10.68)
One Docker container for myapp with apache installed (10.10.10.68:8080)
A second docker container with superset installed (10....
1
vote
0
answers
805
views
Reverse Proxy - Bad Gateway
For some reasons I need to access https://api.postcodeapi.nu/ with http instead of https. I have created a reverse proxy in my Apache:
<VirtualHost 127.0.0.1:80>
ServerName api.postcodeapi.nu....
0
votes
1
answer
617
views
reverseproxy to connect multiple backened server from single virtual host
I have a apache http server that acts as proxy to connect to backened app servers.
e.g. MachineA(https) -> MachineB(reverseproxy) -> MachineCn(App)
Here MachineA(Public_lb) port 9002 is mapped with ...
1
vote
0
answers
225
views
How to pass part of URL to ProxyPass in Apache
I am hitting the URL http://example.com/ws/abc. Now I need to proxy a server with URL https://server.com/abc.
I have tried the 2 methods below to proxy. But it is not working.
RewriteRule ^/ws/(.*) "...
0
votes
1
answer
872
views
apache mod_rewrite is not resolving OK
I have an Apache server (80 port) running ok as a Reverse proxy of local webserver (82 port) and mod_rewrite without any .htaccess files.
I can navigate OK to http://localhost/CONTACT.PRO, it shows ...
0
votes
1
answer
2k
views
apache config to redirect https to http weblogic module
I have 3 Machines which I am configuring this way to work.
MachineA(https) -> MachineB(reverseproxy) -> MachineC(App)
MachineA - The public facing load balancer where SSL certificate is installed
...
2
votes
2
answers
2k
views
Proxy website that uses javascript to change window.location?
Little bit of a newb when it comes to configuring httpd but here's my situation:
I'm trying to proxy an application (let's call it catsapp) that I have no control over with httpd.
catsapp, an html/...