All Questions
Tagged with reverse-proxy nginx
1,635
questions
0
votes
0
answers
32
views
Subdomain configuration
I have a website hosted on ionos where I configured gotosocial (written in golang) and it works on port 443 (let's call it mysite.com).
Now I want to enable a subdomain called sub.mysite.com that ...
1
vote
1
answer
57
views
Certbot failing on nginx reverse proxy: 404
I am trying to setup a Mastodon instance on Ubuntu 22.04. I have setup Nginx as a reverse proxy and now I am trying to generate an SSL certificate with Let's Encrypt. When I run certbot --nginx -d ...
0
votes
1
answer
37
views
Nginx reverse proxy for home assistant not working
I normally access HA via https://home.lan:8123 and it works fine but I would like to access via https://home-assistant.home
accessing https://home-assistant.home I get nothing at all
If I only do http ...
0
votes
0
answers
47
views
Reverse proxy for static assets for multiple apps with nginx
I am hosting two apps (a custom "Notes" app, and File browser) on my raspberry pi with nginx.
I set a reverse proxy so I can access notes on localhost/notes and files on localhost/files.
I ...
0
votes
2
answers
79
views
Nginx duplicate location "/.well-known/acme-challenge/"
I'm trying to set up a Nextcloud instance at VPS Server via a Docker image. I found some Docker-Compose on GitHub and tried to build it with my parameters. I registered my domains and checked that ...
0
votes
0
answers
71
views
Hosting passbolt container on server using nginx reverse proxy
I'm trying to host passbolt on my server using container setup; on this server I also have to host multiple websites, each with a different domain;
so I thought of configuring an nginx reverse proxy ...
0
votes
0
answers
219
views
nginx proxy cannot connect to upstream
I have 2 spring apps running on port 8080 and 8081. I wanted to have nginx proxy for forwarding https request for either of them so I have this nginx
$cat /etc/nginx/conf.d/spring-apps.conf
# Redirect ...
0
votes
0
answers
50
views
Docker/WordPress in Sub-Path Redirects to Root
I installed WordPress+OpenLiteSpeed in Docker using this script, adapting it for my needs.
I'm hosting the blog in /blog sub-path here.
I added this to wp-config.php
define('WP_HOME', 'https://www....
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:
...
0
votes
1
answer
162
views
Problems with Nginx location proxy pass
I am no expert in nginx, so sorry if any information is missing or not complete.
I have a website running under http://server-ip:3000/abc/xyz. This website also loads some assets from http://server-ip:...
0
votes
1
answer
142
views
nginx prox_pass: port 3000 gets redirected to 80. Same config with other ports works
I have the following scenario:
Service A
Service A is available under host:8080.
I have configured a reverse proxy in nginx to resolve servicea.domain to host:8080.
Here is my config-file (Location: /...
0
votes
0
answers
31
views
Nginx reverse proxy leads to frequent log outs for gitlab
I am using an nginx as a reverse proxy for my gitlab. When accessing the gitlab via this proxy, I experience frequent logouts. Obviously gitlab is not able to maintain/identfiy the session reliably.
...
0
votes
0
answers
166
views
Nginx as reverse proxy , rewrite or proxy pass request to docker container
I'm trying to use nginx as reverse proxy in front of a few applications which are on the same machine(Docker containers).
As a test, I tried to connect PHPmyAdmin to a URI like: www.example.com/phpma
...
0
votes
0
answers
68
views
How to verify backend servers are reachable as part of keepalived health check?
I'm currently configuring a high availability setup using Keepalived to manage failover between Nginx servers. As part of this setup, I need to implement a health check script to verify that Nginx is ...
0
votes
0
answers
238
views
302 redirect in nothing with Tomcat and Nginx
I am creating an https connection to my WAR app at tomcat (localhost:8080/myApp).
Inside we have an Angular and Java app. I create nginx config and after review some similar questions here and here ...
0
votes
1
answer
83
views
Route multiple apps through Nginx server
I have the following scenario:
Nginx server, on IP xxx.xxx.xxx.xx1
app1, on IP xxx.xxx.xxx.xx2:3000
app2, on IP xxx.xxx.xxx.xx3:5000
app3, on IP xxx.xxx.xxx.xx4
I want all apps to be accessible via ...
-1
votes
3
answers
71
views
NGINX Proxying Port
i use nginx as reverse proxy and proxying some of our webservers, application systems etc.
Now i have a application, that is accessable via https on port 2222.
So i created a redirect as i did for ...
0
votes
1
answer
121
views
MIXED CONTENT/CSP issue from (VPS) nginx reverse proxy with termination SSL and (HOME) nginx wordpress
It's been few day as I try to figure out what I'm doing wrong.
DNS points to VPS
on VPS I have nginx reverse proxy with ssl termination that forward request to home server
on home server I have nginx ...
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
72
views
Nginx not logging after Logrotate
I've a nginx reverse proxy with custom log files (depending on hostname)
pwd : /var/log/nginx/domain/fqdn.(log|err)
Since some time (maybe after switching to Ubuntu 23.10), my log files are very often ...
0
votes
1
answer
495
views
Connecting Nginx Server to OpenVPN and Accessing it from the Internet
I have an Nginx server running on my local network, and I want to make it accessible from the internet via an OpenVPN connection. Here are the details of my setup:
Ubuntu Server Local IP Address: 192....
0
votes
1
answer
218
views
Only Https Post requests failing with cloudfront and ec2 instance running nginx reverse proxy
I am running a nodejs server on ec2 on port 3000. In order to connect it to internet, I am running a nginx server to proxy requests from port 80 to 3000.
I have a ec2 domain "http://ec2-xxx....
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 ...
0
votes
1
answer
2k
views
NGINX: Retry proxy_pass for a period of time on connection refused from upstream
I'm running NGINX 1.25.3 with the following configuration file that works well provided the upstream FCGI servers are accepting connections and responding OK:
upstream backend_nomad_internal2 {
...
-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 &...
0
votes
1
answer
257
views
NGINX proxy pass to Node.JS server SSL handshake failure
I want to setup a reverse proxy with NGINX to my express.js server, but when connecting to the website i receive a Cloudflare 525 SSL handshake failed error.
This is my NGINX configuration file
# ...
0
votes
2
answers
863
views
Nginx Reverse proxy issue in Azure App Service
I've been struggling for a few weeks now with an issue and I'm not knowledgeable enough to even know if what I'm trying to achieve is possible. FusionAuth forums haven't been very helpful, and neither ...
0
votes
0
answers
245
views
Configuring Nginx as a reverse proxy for any domain
Currently i have a setup, where dnsmasq is used as a dns server, which resolves an dns lookup, to my own servers IP address. Where SNIPORXY is listening on port 80 and 443 The configuration of the ...
0
votes
0
answers
691
views
Why does nginx as a reverse proxy not send Referrer-Policy header?
A bit of context : I'm using nginx as a reverse-proxy for a bunch of apps running in Docker containers.
Among those apps there is Nextcloud (fpm), and the settings page complains about HTTP Referrer-...
0
votes
0
answers
93
views
Nginx unresponsive under load
After switching from haproxy to nginx, one of my reverse proxies has a problem. At a certain number of connections the server stops accepting new requests (closed by timeout). However, if you connect ...
-1
votes
1
answer
228
views
Ubuntu - Nginx client cert authentication: is a public CA a security risk?
I am struggling with a Nginx setup as reverse proxy with client certificate authentication. The client is only accepting publicly signed certificates to be imported as client certificates for ...
0
votes
2
answers
290
views
How to serve static files for Docker Nextcloud-fpm behing nginx reverse proxy?
I have a similar problem to NextCloud FPM Docker Image behind an NGinX Docker Container as Proxy Reverse
I have multiple web apps running in Docker containers behing a Nginx reverse-proxy.
I'm trying ...
-1
votes
1
answer
752
views
Nginx Upstream servers and reverse proxy
I'm new to server stuff and started learning nginx, so any help is greatly appreciated.
I have 3 domains from cpanel with the same IP address namely extra1.example.com, backend1.example.com and ...
0
votes
1
answer
160
views
How can I keep track of nginx restarts and reloads?
I have an nginx reverse-proxy on a ubuntu server in AWS. How can I see when it's configurations were reloaded, either via CLI or otherwise, and when it was restarted altogether?
If it doesn't record ...
0
votes
1
answer
314
views
NGINX reverse proxy not working as expected
I'm trying to deploy an app through docker containers and reverse proxy it to my destination endpoint.
My docker compose file looks like this:
version: '3.4'
services:
monitor.api:
image: ${...
0
votes
2
answers
186
views
NGINX Configuration Issue: Specific Subdomain Not Redirecting Correctly
I'm facing an issue with my NGINX configuration, where a specific if condition for redirecting domain traffic doesn't seem to be working as expected. My goal is to redirect traffic from sub1....
0
votes
0
answers
295
views
NGINX config for multiple Symfony installations using subfolders
I have a shopware installation (version 6.5.5.1) running on my domain. I want to add more independent Shopware installations, using the same domain (for different languages/countries).
For example, ...
0
votes
1
answer
531
views
nginx does not forward traffic with TLS v1.1
Im using nginx 1.18.0 on an Ubuntu 22.04 server machine as a reverse proxy. Everything works fine except for one thing.
A client uses a desktop application, which sends https requests to a specific ...
0
votes
2
answers
291
views
Nginx Server Block Configuration Issue - Conflicting Domains
I have a clean installation of Nginx, specifically version 1.24.0, on my Amazon Linux 2023 server, and I'm facing an issue with the server block configuration. I have three server blocks set up for ...
0
votes
0
answers
100
views
How to config NGINX such that I can call https://<MY_DOMAIN>:<MY_PORT>/<URI>/
What I am trying to DO:
I have a QNAP NAS on which I am trying to set up my NGINX via docker such that I will be able to add multiple services on my home server.
What I am trying to do now is to set ...
0
votes
0
answers
161
views
NGINX fails to connect to Nextcloud instance
I have a server running proxmox with 3 VMs: NGINX, Bitwarden and Nextcloud. Bitwarden works fine which proves that NGINX is working ok, however when NGINX tries to connect to Nextcloud it will result ...
0
votes
0
answers
183
views
phpMyAdmin loading incredibly slow through nginx reverse proxy
So I have a Synology NAS at home with some services running that I need to be accessible from the WWW, but understandably do not want to open ports on my home IP to the wide internet (especially ...
0
votes
0
answers
1k
views
Reverse proxy for use with iframe
Weather Observations-II
this web page has the following link:
Videofeed of Weather Condition
this page calls iframe link:
<iframe width-"1300" height="731" src="http://c500....
-1
votes
1
answer
102
views
Preview website without DNS like hostcx
I want to make a website like HostCX is this possible with Nginx Reverse Proxy and what is needed to achieve this? When the website google.com is entered it should not be checked based on DNS ...
0
votes
1
answer
346
views
Nginx having multiple sites-enabled breaks nginx
I have a weird issue happening in my Nginx server. I am using Nginx as a reverse proxy for multiple services running on my servers internally.
This is kind of what I was trying to accomplish:
app1....
0
votes
0
answers
109
views
Nginx missing trailing slash redirects to the wrong url behind proxy
We use an nginx webserver behind an nginx proxy. When i try to browse a subpath, the nginx backend webserver (something.example.local) appends a trailing slash behind the url (301 redirect) -as ...
0
votes
1
answer
231
views
nginx GET request with internal server name instead of public domain name
I have set up a nginx reverse proxy with Ubuntu Server 22.04 LTS. The Abacus web application should be accessible with https://abacus.contoso.com from the internet. The internal server name is srv06.
...
0
votes
0
answers
510
views
Configuring Nginx Reverse Proxy: Resolving Bad Gateway Issue
I am attempting to set up an Nginx reverse proxy that should be accessible from another server. The purpose is to redirect requests to an upstream test environment. The connection necessitates a ...
0
votes
0
answers
1k
views
Dockerized Nginx Reverse Proxy - Real IP
I have following problem. I have a docker compose setup which spins up a frontend service using Nuxt3 and a backend API based on golang.This two containers are exposed via an Nginx reverse proxy ...
0
votes
0
answers
19
views
How to Avoide Passing Regrex Part into proxy_pass in Nginx
I want to foward all request to https://myfrontend/(anything)/front/ to my backend server http://mybackend:8081 and now I setup my nginx like below:
location ~ ^/(.*)/front/ {
proxy_pass http://...