All Questions
615
questions
-1
votes
2
answers
49
views
Seeking guidance on setting up a proxy server with DNS for specific sites
I setting up a proxy server for specific sites using a DNS server, and I am seeking guidance on handling HTTPS traffic. Here's a brief overview of my setup and the challenges I'm facing:
Objective:
...
0
votes
0
answers
32
views
nginx wss proxy doesn`t work
I`m trying to run wss reverse proxy with nginx, but when i`m trying to connect, i`m getting error without any error codes. When i turned off ssl websocket started working correctly.
My nginx config:
...
0
votes
1
answer
105
views
Nginx proxy on moodle error - too many redirects
I'm learning about proxy cache and load balancing on Nginx lately and been having some problems trying to make a proxy work for a moodle installation that i have, it says "too many redirects"...
-1
votes
1
answer
80
views
open() "/var/lib/nginx/cache/fastcgi/3/d0/bce7bdb8e2c388c7675c97c7324efd03" failed (13: Permission denied)
I am trying to add Caching for Proxy & FastCGI but once i try to view any page on the site it fails with 500 Internal Server Error and when i tried searching my logs for any errors i found that ...
0
votes
0
answers
126
views
Create public forward proxies,
I'm eager to set up a process where I can send requests from my a client to mainip:1000, route them through proxyip1 to the internet, and then have the responses return to the main IP and finally to ...
-1
votes
1
answer
112
views
nginx refuses to redirect all 404 pages to my index.html
I want Nginx to redirect all pages that are 404 to my index.html.
This nginx is running as a container. Yes I have confirmed nginx is actually being reached as the docker-compose log output shows the ...
0
votes
1
answer
290
views
Nginx as forward proxy for secure LDAP
I need help building a forward proxy for secure LDAP.
A client connects to a TCP proxy and request must be redirected to a secure LDAP at TCP 636.
[client]------->[localhost:636 Nginx-proxy]----TLS-...
0
votes
0
answers
88
views
NGINX Mail proxy IMAP Auth Errors
I need some help getting NGINX to perform IMAP authentication as a reverse proxy into Postfix Mail server on-prem. I am seeing the tracking on my POSTFIX mail server, but IMAP continues to fail. seems ...
0
votes
0
answers
138
views
Odoo 16 on Nginx: can not enter editor mode after enabling TLS
Odoo doesn't work as expected after enabling TLS on Nginx (Ubuntu 22.04). When I click on the editor button on Website or eLearning section, the browser keeps on waiting with the running circle.
I ...
0
votes
1
answer
142
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
0
answers
150
views
nginx proxy_next_upstream with upstream variable
I find it very convenient (mainly for testing) to be able to change the upstream according to an url parameter:
upstream balance {
server 111.111.111.111 weigth=5;
server 222.222.222.222 weigth=6;
...
0
votes
0
answers
480
views
HTTP_X Forwarded For NGINX Ingress not working
I have a simple application running inside AKS. I'm trying to get the IP of the source user when accessing the application. I have created an ingress for the application. When I curl -I https://...
0
votes
1
answer
843
views
Redirect http calls inside iframe to https using nginx
I have an https website that needs to render an iframe of a external website that only works with http. The external http endpoints is all inside a url like: http://external-website.com/foobar
Browser ...
0
votes
1
answer
58
views
same proxy pass config not working on both instances
i have a config /etc/nginx/sites-available/test that only proxies one server the first (blog) and returns a nginx 404 on the second (api) I have tried trouble shooting but to no avail
i tried checking ...
0
votes
1
answer
352
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 ...
0
votes
1
answer
200
views
Nginx doesn't see or use subdomain config
Problem: nginx doesn't apply configuration for subdomain if there are domain and subdomain config at the same time.
Disclaimer: I'm new to nginx and server deployment.
Question:
What I do wrong with ...
1
vote
1
answer
381
views
Cache HTTPS-Responses in nginx
I want to cache responses from https://example.com (SSL/TLS !) with nginx, so basically a forward-proxy that caches a response for 10m.
I'm using docker with this image, as it has the ...
1
vote
1
answer
305
views
nginx mirror directive not working
I am trying to mirror a request that coming to one of our services, nginx is acting as the web server.
I've used the mirror directive to proxy the requests to an AWS ALB, but it seems that nginx is ...
0
votes
0
answers
56
views
How to setup nginx as a direct proxy by getting destination infos from the url
I'm trying to learn if it's possible to use Nginx to proxy my connection to a url so when I browse for "<anyUrl>.myDomain.com", nginx takes the <anyUrl> part and proxies my ...
0
votes
1
answer
1k
views
Nginx split the URI into variables to use on proxy_pass
I'm tring to get the URI parts to then pass it to the proxy_pass url. But I don't know about regex to do this.
I need to get the first and last URI into a variables to pass it on the proxy_pass like ...
1
vote
1
answer
57
views
Nginx proxy get each slash part into a variable
how can I get each slash part of the url into a variable to write the proxy URL?
Example:
https://example.com/part1/part2
or
https://example.com/sub/8080
Then
proxy_pass http://$part1.example.com:$...
-1
votes
1
answer
88
views
How to redirect network traffic using squid and nginx to outer page?
My school network blocks access to game pages, more exactly colonist.io. We have an access to linux server for learning purposes. I'd like to avoid blocking by setting up some kind of proxy server on ...
1
vote
1
answer
428
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
0
answers
530
views
React App with Nginx reverse proxy not displaying /swagger ; /redoc
So I've been trying to set up Swagger to work on /swagger/, it was working fine until we switched to a domain. I'm not that experienced with nginx and it's reverse proxy. I will share my settings, if ...
1
vote
1
answer
306
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 ...
1
vote
2
answers
414
views
Subdomain redirection (proxy) not working (tried with Apache2 and Nginx)
I'm using a raspberry pi with apache2 to manage my websites. I have multiple docker images running on different ports. I want to redirect (without url changes) scanner.raspberry.local to localhost:...
0
votes
1
answer
394
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
0
answers
187
views
Nginx reverse proxy SSL using different domain on each side
I need a little tip on how to solve a setup I came across where client wants to access an HTTPs API hosted on api.foo.com (our domain, with *.foo.com certificate) using api.bar.com (client's domain ...
1
vote
0
answers
1k
views
Specify IP address for V2ray + nginx
There's an Ubuntu server configured with nginx and trojan proxy with x-ui. The nginx listens on public IP address port 443 and x-ui on 127.0.0.1 and can be on any port. trojan proxies also listens on ...
0
votes
1
answer
487
views
Nginx Show Upstream Server Name and Backend Port With URL Without Trailing Slash
I have setup a Nginx server as proxy for a back-end. If the back-end is down, Nginx serves from a backup of the back-end. The proxy works when the URL ends with a trailing slash. If I omit the ...
0
votes
1
answer
280
views
nginx proxy to apache in local enviroment avoid error 504
Hi guys I have a setup where I use Nginx as entry point for my HTTP request on port 80 and then I make a proxy to port 8080 where Apache is running a virtual host with PHP7.4 + MySQL running on ...
1
vote
1
answer
172
views
Trying to proxy tcp traffic through a distant server
During the past few days I tried a few things to make my VPS proxy tcp traffic (depending on port) to my home server (both ubuntu servers).
Client <------> VPS <------> Home server
To be ...
0
votes
0
answers
416
views
nginx proxy redirect to login changes hostname to IP
I have dockerized .net core 3.1 app and ngxin running on linode server.
App uses jwt tokens and redirects user (302) to controller Auth/Login, when i access my subdomain app.e-this.net nginx detects ...
0
votes
1
answer
183
views
Define multiple proxy_pass on nginx proxy
running nginx-proxy as a container for several years now. Perfect smooth, no problems. Docker-compose.yml I am using for that:
services:
nginx-proxy:
image: jwilder/nginx-proxy:alpine
...
1
vote
1
answer
386
views
nginx serving content from wrong proxy
I have a single server hosting several Rails sites. All sites are identified by unique host names (all domain names map to the same IP address). Both Rails and nginx are running in Docker containers....
0
votes
0
answers
84
views
Trying to set up a proxy server uisng nginx and docker
I am trying to set up a proxy server to access a network. Currently there is a proxy server that people use securecrt to connect to and their web browser for some resources. I want to set up the ...
0
votes
0
answers
30
views
A web server that takes contents from another one, and serves it with slightly modified HTML
I have a web site a.com (please note: I own and run it). I want to be able to run a slightly modified version of it on b.com . The contents would be identical; however, I would apply some minor ...
1
vote
1
answer
280
views
NGINX proxy_pass with html hard links
I'm trying to run a web app listening on a different port of the same server.
I'm using NGINX in order to proxy requests. I will show you an example to clarify.
server {
listen 80;
server_name ...
0
votes
2
answers
150
views
Failing to proxy arbitrary URLs with NGINX
I've tried multiple solutions to proxy arbitrary URLs through NGINX. By that, I mean requesting http://myhost/proxy/http://someurl.com?whatever=foo and getting http://someurl.com?whatever=foo served. ...
1
vote
2
answers
2k
views
Using NGINX as a forward proxy in a relay server for V2Ray connection
I am living in Iran currently and our internet is limited. For bypassing the national firewall, we have to use a VPS based in Iran as a relay to connect to a VPS server outside Iran.
Many are using ...
0
votes
0
answers
221
views
Can you have multi proxy as location in nginx conf?
I have several web apps I like to proxy with a single URL. This is my nginx.conf
server {
listen 443 ssl;
server_name webapps.mysite.com 192.168.5.28;
access_log /var/log/nginx/...
1
vote
1
answer
318
views
How to make proxy support work in exim
Nginx and Exim on same host, Nginx runs as smtp proxy for exim.
Nginx v1.22.0 config fragment:
mail {
...
server {
listen 25;
protocol smtp;
proxy_protocol on;
smtp_auth none;
...
0
votes
0
answers
98
views
reverse proxy with host machine authentication
I have the following situation:
In my company we can access O365 via authenticated devices only using Oauth, but I need to access web email at least from an old industrial PC device that cannot be ...
0
votes
1
answer
1k
views
nginx reverse proxy showing default page
I have just installed Synapse on my VPS and now trying to set up nginx reverse proxy. However, it's showing the nginx default page. I have another subdomain with reverse proxy at https://discourse....
0
votes
0
answers
191
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
656
views
Reverse proxy in nginx at location /foo
I have an app with a frontend written in Angular on server 1 made accessible in the local network through apache (accessed through ip on port 81: http://192.168.123.123:81).
Now, for various reasons I ...
0
votes
2
answers
2k
views
Nginx proxy large file download fails instantly sometimes
Problem
Downloading a large file (400MB+) with "transfer-encoding: chunked" fails after about 3 seconds. Downloading smaller files works even though possible taking longer than 3 seconds. ...
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....
0
votes
0
answers
276
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
1
answer
3k
views
Zabbix server port 10051 not listening
I have a Zabbix agent and a master server. In both servers, the port 10050 is working fine but unable to connect the Zabbix agent to the master server because the port 10051 is closed. I have seen the ...