Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
38 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: ...
Prem's user avatar
  • 101
-1 votes
1 answer
331 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 &...
José Pérez's user avatar
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
241 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 ...
Dávid Csorba's user avatar
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 ...
Gogo's user avatar
  • 101
0 votes
1 answer
769 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 ...
Михаил Агафонов's user avatar
1 vote
1 answer
580 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 { ...
xmm_581's user avatar
  • 11
2 votes
2 answers
536 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 ...
hachan29's user avatar
0 votes
1 answer
544 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 ...
OGordo's user avatar
  • 1
0 votes
1 answer
83 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 ...
srluccasonline's user avatar
0 votes
0 answers
217 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 ...
Amira Elsayed Ismail's user avatar
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 ...
Tom743's user avatar
  • 1
1 vote
0 answers
3k 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....
Shuvo Barua's user avatar
0 votes
0 answers
551 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, ...
quintus's user avatar
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....
P00's user avatar
  • 1
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
1 vote
1 answer
622 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/...
henry chidiebere'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
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> ...
Renegade's user avatar
0 votes
2 answers
286 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 ...
Vinayak's user avatar
  • 73
0 votes
0 answers
49 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; ...
Leopoldo Vasquez's user avatar
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 ...
user2341534's user avatar
0 votes
1 answer
7k 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 ...
louis habert's user avatar
0 votes
1 answer
274 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-...
roeb's user avatar
  • 141
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 ...
aldegalan's user avatar
0 votes
1 answer
967 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 $...
Zareh Kasparian's user avatar
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 ...
Andy Sukowski-Bang's user avatar
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/ ...
Christos Hayward's user avatar
2 votes
3 answers
946 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:...
Alleo's user avatar
  • 131
0 votes
0 answers
687 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 ...
BangyStudios's user avatar
1 vote
1 answer
921 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 ...
CaptainJack42's user avatar
-1 votes
1 answer
208 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 ...
maxim pavlenko's user avatar
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,...
Normajean's user avatar
  • 131
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 ...
Suhail Gupta's user avatar
0 votes
0 answers
902 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 ...
SScotti's user avatar
  • 141
2 votes
1 answer
9k 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....
George Y's user avatar
  • 568
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 - ...
myNewAccount's user avatar
0 votes
1 answer
30 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 ...
Felix B.'s user avatar
  • 105
1 vote
0 answers
180 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> </...
alex's user avatar
  • 11
1 vote
1 answer
5k 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 ...
ram khanal's user avatar
1 vote
0 answers
176 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....
William Añez's user avatar
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 ...
Evyatar Saias's user avatar
1 vote
0 answers
654 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 ...
Beps's user avatar
  • 11
1 vote
1 answer
624 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 ...
bahruz's user avatar
  • 111
1 vote
0 answers
229 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 ...
a p's user avatar
  • 131
1 vote
0 answers
3k views

Transparent Proxy with Squid 4.10 not working

Squid 4.10 on Ubuntu Server 20.04 I have tried so many things and spent this entire week researching on how to get this working. To get an idea of what I am trying to do here, take a look at these ...
LtMuffin's user avatar
  • 121
0 votes
0 answers
851 views

No trailing slash in URL causes nginx to try and load js from wrong location

I have an nginx api gateway config setup similarly to the one seen here. The application is served at "www.foo.com/bar/app/", but we'd also like users to be able to visit the website without ...
Jon-Johnson's user avatar
0 votes
1 answer
366 views

nginx reverse nodejs apps with context

I've recently setup an Ubuntu server (18.04) to host several nodejs apps internally. The applications all reside at subdomains (v1.example.com, v2.example.com) of my main domain, but on different ...
c0nf1ck's user avatar
  • 101
0 votes
0 answers
31 views

Can a proxy server like Cloudflare access all files in server and can read and write them, and if it can how to disable it

How to stop a proxy server from reading, writing files in origin server. And if I changed name servers of another server and that another server can behave like a proxy and can it access all files ...
ICodeMyWay's user avatar
3 votes
1 answer
4k views

URL redirection and TCP proxy in haproxy

In a server with only one ipv4 and running haproxy, i want to redirect an url and proxy another in TCP level, for ssl passthrough purpose. frontend https-frontend bind *:443 mode tcp option ...
Albert's user avatar
  • 31

1
2 3 4 5
7