All Questions
Tagged with proxy reverse-proxy
353 questions
-1
votes
0
answers
24
views
nginx proxy manager similar solution for none docker environment
I am new into Reverse proxy and have basic understanding, i have did a afew research still don't get an answer what I am looking for i need some basic understanding weather the Scenario below can be ...
0
votes
0
answers
13
views
Sessions of apache webserver expiring - forcing logout of users (non php)
I have got some webservers running behind a proxy-server. These webservers are running an application, but it seems user are getting a "session expired" error. This error forces a logout and ...
0
votes
1
answer
52
views
Apache forwards to wrong port
I have different subdomains which I want to end up to proxy to different ports
kibana.featurename.subdomain.mydomain.com should be forwarded to port 5601
pma.featurename.subdomain.mydomain.com should ...
0
votes
1
answer
46
views
How to Proxy Traffic from DDoS-Protected Server to Origin Server While Preserving Client IP?
Problem:
I have a server (Server A) hosted in Datacenter A, where a web server listens on ports 80 and 443 for the domain example.com. Unfortunately, Datacenter A does not offer DDoS protection.
To ...
0
votes
1
answer
116
views
Can I configure Apache httpd to dynamically proxy to an internal nodejs app depending on the user and app name specified in the URL?
I am trying to configure my Apache httpd VirtualHost to dynamically proxy to a nodejs app based on the user and app in the URL.
An internal user visits the web server at…
https://mywebserver/<user&...
0
votes
0
answers
56
views
Split Nginx default conf into separate files based on different upstream services
Have a running Nginx auth proxy server with a growing default.conf.template file.
Want to split it into multiple files based on different upstream services.
./templates/default.conf.template file:
...
-1
votes
1
answer
570
views
Nginx proxy server URL is not found
Everything works fine except when you want to browse through the web page, since when you click on a link, it is written with the proxy URL and no results are found.
For example, if I want to access &...
0
votes
1
answer
303
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
...
0
votes
1
answer
312
views
iredmail on ubuntu 22.04.3, nginx proxy, roundcube
before that, i've hosted some websites from my synology nas. But now, i need to create a mailserver. 've installed iredmail on ubuntu server, and created a new Nginx server ( on other hw) for the ...
0
votes
1
answer
335
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 ...
0
votes
1
answer
948
views
Proxy all requests from one machine to another using nginx or anything else
Is it possible to proxy all requests to another server saving corresponding ports and protocols?
I have a homeserver (without public ip) and VDS (with public ip).
I also established connection ...
1
vote
1
answer
714
views
Nginx: proxy_pass ignores port
I have an application with Swagger on localhost:8080/swagger/.
I need a redirect from localhost:80 to actual swagger url which is localhost:8080/swagger/ so I setup a Nginx reverse proxy:
server {
...
2
votes
2
answers
825
views
Nginx UDP proxy shared connection is busy
We are proxying UDP packets for a game server through a Nginx reverse proxy. Clients timeout very often because the Nginx can't handle the requests. Initially it works flawlessly, but when more ...
0
votes
1
answer
619
views
nginx returns 499 with 110: Connection timed out in error log
I can't get over the nginx 60s timeout. If I access the node server directly at 8000 it works, through nginx as reverse proxy it always times out after 60s. I have tried every timeout setting I have ...
0
votes
1
answer
138
views
How do web clients access vpn protected servers?
I'm not talking about joining the VPN network through a client like OpenVPN, I'm talking about the user's connection to the VPN server, for example:
Normal flow: Web Client >>>> Server (No ...
0
votes
0
answers
235
views
how to write nginx rewrite rule to direct to another server that work on python
I have the following scenario
I have a domain name that is connected to machine X which has Nginx and PHP
I have multiple machines 1 to n who are not exposed public and only accessed by VPN ...
0
votes
1
answer
567
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 ...
1
vote
0
answers
4k
views
Docker and Nginx proxy for production of an angular app
I am working on an app where I am calling a 3rd party API. My API in local and production looks something like the following
1. http://localhost:8090/rest/api/2/search?jql=search_query
2. http://10....
0
votes
0
answers
669
views
Nginx Location Redirect
I'm sorry for the beginner question but I've spent a long time trying to get this to work properly with no luck.
I have a location block to redirect https://my.domain.com/foo to https://192.168.1.25, ...
0
votes
0
answers
329
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
0
answers
273
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 ...
1
vote
1
answer
675
views
Please help, trying to set dynamic reverse nginx proxy but it fails
Please help, I am trying to set up a dynamic reverse proxy so that I won't require to make direct changes to nginx. What I want to achieve is to create a default locations say:
location ~ ^/staging/v1/...
0
votes
0
answers
517
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>
...
1
vote
0
answers
846
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>
...
0
votes
2
answers
337
views
Tomcat with HTTPD front end. Manager app not accessible
I have an HTTPD server which does the LDAP Authentication in front of Tomcat server. My application resides in the Tomcat.
I am proxying the authenticated requests via AJP connector of tomcat to my ...
0
votes
0
answers
52
views
nginx rewrite rules: Rewrite https://Frontend/backend/Api/SelectAllBranch/ to https://Backend/Api/SelectAllBranch/ or .../SelectAllBranch
I'm using this configuration to nginx proxy reverso
location /backend {
rewrite ^/backend(.*)$ $1/ break;
proxy_pass http://credentials-web-bff.cl-milugar:5000;
proxy_redirect off;
...
1
vote
1
answer
2k
views
Apache ProxyPass to Shared Ip Address for Domain
I have a case where I need to proxy pass a domain (domain1.com) to a different domain (domain2.com) hosted on a shared ip address (192.168.168.168), but domain2.com DNS is pointed other than the ...
0
votes
1
answer
8k
views
Nginx/proxy not working properly
I recently uninstalled apache2 for Nginx
I'm trying to listen on 88, 808 and 888 for my sites and redirect different subdomains for each (and another domain to another server).
the problem is that ...
0
votes
1
answer
323
views
configure nginx to use a proxy when connecting to upstream
it's very hard to find something on google - you get too many results from nginx and proxy alone.
so we have a nginx-docker-container which delivers some static files and should talk to a backend-...
1
vote
1
answer
1k
views
Grafana does not send notifications through reverse proxy
I am using Grafana on a server that does not have Internet, I need to send Telegram notifications, for that I am using Nginx server in another machine.
Server A:
Grafana installed / Running on port ...
0
votes
1
answer
1k
views
Nginx L4 Proxy Works with HTTPS but not with HTTP
I have the following configuration as L4 proxy over Nginx and everything works fine.
stream {
map $ssl_preread_server_name $name {
hostnames;
.ipchicken.com $...
1
vote
0
answers
2k
views
NGINX proxy_pass without changing URL
My Goal
My goal is to redirect to a different web page without changing the URL in the address bar. So for example I want to redirect from https://my.site.com/path to https://external.com/other, but ...
0
votes
2
answers
1k
views
What do I need to do to get ProxyPass directives to register?
I am trying to make a MyCollab CE installation available via SSL, under Apache 2.4.38 (Debian). At present I am seeing ProxyPass not recognized. I have:
ProxyPass / http://localhost:8080/
...
2
votes
3
answers
1k
views
Automate ssh port forwarding using DNS
I have a number of ssh hosts (a dozen), for simplicity host1, host2, etc.
I frequently need to forward port, e.g.
ssh -L 8888:localhost:8888 host1
ssh -L 8889:localhost:8888 host2
ssh -L 8890:...
0
votes
0
answers
772
views
NGINX proxy_pass: dump HTTPS requests as plaintext for debugging
I saw this answer from 10 years ago that's more or less about the same thing, except it involves HTTP rather than HTTPS:
nginx: dump HTTP requests for debugging
Is there a way to dump the encrypted ...
1
vote
1
answer
945
views
apache2.4 reverse proxy to nginx gitlab server [closed]
I'm currently running an owncloud server based on a apache 2.4 webserver on my raspberry pi 4 8GB (working on dietpi 7.3) which works great i have a public domain setup and use letsencrypt to create ...
-1
votes
1
answer
218
views
Is it possible to use proxies to change ports in this way? [closed]
I am new to SysAdmining if you can even call it that. Basically me and the homies are running a minecraft server. But we don't want to pay the premium to get port 25565 which is super expensive for ...
1
vote
1
answer
4k
views
nginx serve static files AND reverse proxy
I want the browser to be in constant communication (websocket) with my backend servers as they are constantly receiving data. But I also want static files to be served to them by nginx. In other words,...
1
vote
1
answer
3k
views
How can I know the name of the cache file created by NGINX?
Suppose I make a request, https://example.com/path1/2?v=1, and have enabled the proxy caching. How do I know the name of the cache file created by NGINX? The problem is, I want to delete the cache for ...
0
votes
0
answers
1k
views
Issue with auth_request proxy having IP rather than domain name for the upstream request
I am trying to reconfigure some stuff that I have setup with NGINX - php-fpm running in a Docker setup. I am using the http_auth_request_module to get authorization for another script before proxying ...
2
votes
1
answer
10k
views
How to set nginx reverse proxy to an SSL site without certificate?
There is a function using TCP pass through like this:
stream {
upstream web_server {
# the site to be visited is https://whatismyip.com, below is its real address
server 104.27.194....
0
votes
1
answer
2k
views
Technically how do curl, ping and other tools get around an NGINX front facing reverse proxy server?
I'm having trouble understanding how communication occurs on a linux box if a front facing server like NGINX has been installed.
For example this is my setup.
AWS / EC2 linux based instance
NGINX - ...
0
votes
1
answer
37
views
Ensuring Redirects on a Proxied Server work correctly
So I am currently trying to understand what configuration is a good idea for an nginx proxy. I am a bit stuck on the following two options:
proxy_set_header Host $host;
proxy_redirect default; (which ...
1
vote
0
answers
195
views
Apache HTTP proxy work for some destination ip and receive 502 Bad Request from other destinations
I've an HTTP proxy like this:
Listen 8240
<VirtualHost *:8240>
ProxyRequests On
<Proxy "*">
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Proxy>
</...
1
vote
1
answer
6k
views
Reverse proxy for RDP according to domain request
I have a scenario hope that someone will help me with that
So the scenario is i have a server that is reachable to the internet and some server that are connected to my lan (In the private network) so ...
1
vote
0
answers
190
views
Apache reverse proxy configuration (/context to /)
I'm having this issue trying to proxy a site to another context on a different domain
What I currently have ?
I have a fully functional web site running on the following URL:
https://helloworld....
3
votes
1
answer
1k
views
Multiple forwardfor commands in HAProxy config
In HAProxy, I would like to forwardfor everything except a few networks like below (multiple networks)
frontend main
bind myip:5356-60000
mode http
option ...
1
vote
0
answers
733
views
how to config apache reverse proxy for multiple jboss remote instances?
I need to setup an apache reverse proxy with multiple jboss instances as target server (with different IP).
I've already set in my DNS an url http://jboss-test.domain.com and i would like to redirect ...
1
vote
1
answer
674
views
Persistent connection not working between the squid (version 4.13) and Apache (origin server)
I would be very happy if somebody could help.
I am basically trying to make the connection between the Squid (version 4.13) proxy and the Apache server (origin) persistent. I've tried the ...
1
vote
0
answers
283
views
Logging proxy_pass timeouts or other failures in nginx
I have a proxy setup like so:
location / {
...
proxy_read_timeout 300s;
proxy_send_timeout 300s;
proxy_connect_timeout ...