55,468 questions
0
votes
0
answers
3
views
Nginx ingress deployment error on EKS: 1 node didn't have free ports
I am deploying an nginx ingress to EKS cluster via terraform. After the deployment, I got this error:
0/2 nodes are available: 1 node(s) didn''t have free ports for the
requested pod ports. ...
0
votes
0
answers
19
views
React Router 7 SSR app with Node.js on Linode with Nginx
I have an SSR React Router 7 (framework version) Node.js/Express application that I am trying to wire up to a domain, which is running through Linode. I set up my domain on Linode, and updated ...
-1
votes
0
answers
18
views
When should I use Apache and when should I use Nginx? [closed]
When should I use Apache and when should I use Nginx?
Thank you for your help!
0
votes
0
answers
9
views
How to fix Mixed Content issue in Pterodactyl Panel when switching from HTTP to HTTPS?
I’ve recently set up the Pterodactyl Panel on my server using Docker. The panel works fine and I’m using SSL to serve it over HTTPS. However, I’m encountering a Mixed Content issue on my site.
When I ...
1
vote
0
answers
22
views
Override NGINX client_max_body_size only for specific path/URL?
We are trying to limit overall client_max_body_size to something relatively low across the server to limit it as an attack vector, but then allow larger requests to a specific endpoint that needs the ...
-1
votes
0
answers
19
views
Captive Portal w/ nginx, hostapd, nftables, dnsmasq [closed]
I'm trying to make captive portal with nginx, hostapd, nftables, dnsmasq and python-flask.
I have two main problems
I'm not getting a popup on Android, but am on Iphone/OSX.
I'm not sure how to ...
2
votes
0
answers
35
views
Gunicorn / Uvicorn extremely rare 502 Errors
We observed an issue with our containerized Python FastAPI application, which we deploy using Gunicorn and Uvicorn on Kubernetes. In extremely rare cases (~1 in 100.000) a single request seem to be ...
0
votes
1
answer
49
views
Nginx not consistently rewriting URLs to include .php extension [closed]
I'm encountering an issue with Nginx where it is not consistently rewriting URLs to include the .php extension, even though I’ve set up the rewrite rules correctly. Specifically, I want to be able to ...
-1
votes
0
answers
18
views
Erreur de logs sur VPS unbuntu avec Node.js et Nginx sur Hostinger.fr [closed]
Bonjour à tous,
J'espère que vous allez bien.
Pouvez-vous m'aider svp à corriger ces erreurs pour que mes fichiers Footer.jsx et Navbar.jsx soient pris en compte, apres le build, les fichiers modifiés ...
-1
votes
0
answers
29
views
ALB AlivCheck works in nginx, but not in envoy
This is my nginx-config:
server {
listen 10000 ssl;
http2 on;
server_name ***.**-***.comp.**.**;
ssl_certificate ***.**-***.comp.*...
0
votes
0
answers
27
views
How to enabling HTTPS for keycloak behind nginx
I’m running Keycloak in a Docker container and have set up an Nginx reverse proxy to make it accessible at docsbot.agency. My current setup allows access via HTTP, but I need to enable HTTPS using an ...
1
vote
1
answer
26
views
react-router-dome nginx routing problem for dynamic string at the end of URL
example url reactjs appp route: https://domain.de/home/%7Brandomstring%7D
https://domain.de/home/123uwb2j3u2
https://domain.de/home/128283283s
randomstring is actually an id that i use.
Question:
...
0
votes
0
answers
34
views
Nginx : Invalid condition "yes" in nginx.conf
I have an environment variable set as
vod_enable_encryption = yes
which I'm attempting to check using an If block in nginx.conf.
Nginx isn't able to resolve the condition and throwing the following ...
0
votes
0
answers
13
views
Not able to obtain http_traceparent using opentelemetry inside nginx ingress controller container
I'm not able to understand why I'm not receiving the (traceid) http_traceparent, as shown in the below log when i try to request a page:
"message":"GET /", "httpRequest":{...
0
votes
0
answers
29
views
Getting 400 Bad request from my django app deployed on ec2
Recently i deployed my django app on aws ec2 using nginx and gunicorn. i followed this tutorial
And it was successful and working fine, i was also able to make requests to this app from my deployed ...
-1
votes
0
answers
20
views
Webapp giving 404 on nginx - tomcat - debian
I'm using debian Bookworm, Tomcat 11 and nginx. I'm trying to set up nginx as proxy for tomcat. I think it works, because now the tomcat manager app is working thought nginx.
I've added a new Server ...
-1
votes
0
answers
54
views
Symfony Docker Nginx error : File not found
I am a beginner in Docker and I am trying to create a Symfony project with a basic configuration such as a MariaDB database, a mailpit and administrator to consult my database in a dev environment. To ...
0
votes
1
answer
44
views
NginX redirect to variable value with out by passing proxy authentication
I am running an Emby Server behind NginX Proxy Manager. Although Emby does not support SSO, I was still able to log in to the Web UI with the URL: schenme://emby.domain.com/web/index.html?userId=abc&...
1
vote
0
answers
29
views
Close postgre database connections when using multiple instances of a Dash app using nginx that runs on Docker
I am trying to deploy a Dash application with nginx that runs on Docker. I compose it so that I can get 8 separate instances of the same dashboard for which the inputs can be different. Each dashboard ...
-1
votes
0
answers
25
views
Reverse proxy to forward docker registry [closed]
We have a corporate Artifactory instance , in which I have a docker registry <CORPORATE_URL>/registryA . The URL is a very long corporate URL that I can't change, I have no rights to this ...
0
votes
1
answer
40
views
Nginx reverse proxy configuration problem
I have the follwoing nginx configuration :
server {
listen 80;
server_name /*public ip address here , did not want to share it*/;
# listen 80;
# server_name _;
Proxy requests to ...
-1
votes
0
answers
32
views
nginx location regex not matching url with "?" [closed]
I have problem math nginx location with "?" in URL (/path/upload?name=123.pdf). I have tested regexs at https://nginx.viraptor.info/ with "location ~ /.*/upload.+.pdf$" and it dont ...
0
votes
0
answers
26
views
Ingress nginx giving 404 [closed]
I have a microk8s single node K8 cluster. And I am not installing nginx using the microk8s enable ingress command.
I went the native route and installed the helm chart that the nginx site has.
More ...
0
votes
0
answers
29
views
Getting and applying an SSL cert (from CAcert.org) to an nginx server on Raspberry Pi
I want to enable https on a web server.
Environment: validated domain on CAcert.org. Server certificate generated there. Target server: a PiStar (running on RaspberryPi using nginx as the web server).
...
-2
votes
0
answers
15
views
Configure a Fail2ban jail to catch 302 status code for a specific file [closed]
I have an nginx website which is getting lots of hits for a non-existent file "mydata.html". These hits are recorded in the site's access log with 302 status codes. I'd like to know how to ...
0
votes
0
answers
37
views
Why does the favicon still appear after removing the tag from my HTML? [closed]
I uploaded a html/css page to my server, it online and are working fine, but the thing is the favicon won't go away even after removing the fav icon from the html page
I also reloaded my website ...
0
votes
1
answer
49
views
Prometheus can't scrape Django metrics (400 Bad Request) when running in Docker container
I'm trying to collect prometheus-django metrics from a Django application running inside a Docker container. The metrics are exposed at http://localhost:8888/prometheus/metrics, and I can access them ...
0
votes
0
answers
16
views
Kong nginx worker process consumes close to 100 Mb memory when idle
We are using kong api gateway and there are no active users for our module with kong as it’s not yet in production. Still simply running the kong api gateway, its nginx worker process consumes appr. ...
0
votes
0
answers
15
views
Is there a way to compile ngx_http_shibboleth_module.so a dynamically loaded module without pkg-oss?
The issue is that i cant compile it with pkg-oss for nginx 1.26.3. And since a rollback is not possible due to the removal of 1.26.2 and the lack of sypport from pkg-oss for still available version i ...
0
votes
1
answer
23
views
Vue Router Returns 404 When Refreshing Page in Docker + Nginx Setup
I have a Vue.js application running inside a Docker container with Vue Router set to history mode. The app works fine when navigating through links, but when I refresh the page or visit a route ...
1
vote
1
answer
30
views
Is the ngx.socket.tcp() call limited in any way when called from an nginx location context?
I'm very new to using the local sock = ngx.socket.tcp() call that is provided by the nginx lua packages provided on Ubuntu Noble (i.e. the libnginx-mod-http-lua package). I've been able to get some ...
0
votes
1
answer
61
views
Nginx proxy all subdomains
I currently proxy a website on my.domain:6799 to remote.com but that domain also uses subdomains like img.remote.com or video.remote.com.
It it possible to add some kind of rule that proxys the ...
0
votes
1
answer
38
views
Dotnet core app not reachable behind nginx load balancer and docker compose
I'm trying to create a system where a ngnix load balancer forward traffic to one or another app in dotnet core. Currently I've api1 and api2 newly created, have only swagger (always enabled, not only ...
0
votes
1
answer
27
views
Unable to create a django.conf file for nginx
I am trying to deploy my django app on aws ec2 and i created a django.conf file for nginx this is my django.conf file
server{
listen 80;
server_name 15.206.160.34;
location / ...
-2
votes
0
answers
45
views
Nginx proxy_pass is not redirecting with target port [closed]
I have pihole v6, running on port 8008 and it's working fine using http://my-ip:8008/admin without any issue.
Now I'm trying to running it behind Nginx (installed on the same machine) reverse proxy to ...
0
votes
0
answers
26
views
Kubernetes Ingress Not Routing to Services in Different Namespaces [closed]
Problem:
I am trying to set up an Ingress resource in the default namespace that routes traffic to:
Mongo Express (in the default namespace)
Kubernetes Dashboard (which is in the kubernetes-dashboard ...
0
votes
0
answers
33
views
nginx wont proxy_pass to service on 127.0.0.1:8080 with ssl
I am trying to proxy_pass to a local service (fossil scm) on http://127.0.0.1:8080.
http://scm.domain.de and https://scm.domain.de returns ERR_CONNECTION_REFUSED.
https://scm.domain.de:8080 returns ...
-1
votes
0
answers
29
views
Static file not serving correctly when accessing Docker-deployed service via Nginx
I am a newer to Nginx.
I am much confused with this trouble and would like to hear some advice.
I deployed a service using Docker on a server (let’s suggest it assigned IP: 192.168.1.1),
where the ...
0
votes
1
answer
27
views
Problem with Caching Preflight Requests with NGINX
I was trying to cache OPTIONS request in NGINX to reduce the latency, and tried to use proxy_pass. However when I restart the NGINX (by deploying the application), I am getting the error Stderr:nginx: ...
0
votes
0
answers
15
views
Secure backend access only through the reverse proxy [closed]
I have two servers with public ips , one hosting the backend services and the other is the reverse proxy. I want to make sure that all traffic is only coming from the reverse proxy (nginx) .
for ...
0
votes
1
answer
34
views
setup nginx to allow only a few domain [closed]
I have a domain with endpoint /images.
I want to set the access from my domain-a.com and domain-b. For debug purpose, if someone input the direct link on to browser, they have to input a username and ...
0
votes
0
answers
33
views
How to set up HLS stream?
I am working on a project where the main goal is to create a website where users will be able to watch live streams. These live streams will come from different sources, over different protocols. I ...
0
votes
1
answer
21
views
Nginx conf for serving .well-known/assetslist.json for android deep links
I have an nginx conf as below through which i am trying to serve the /.well-known/assetslist.json file for Android deeplinks. The location block for it is not honored and the application deployed ...
0
votes
0
answers
32
views
First SSL Handshake Takes 45-60 Seconds on Initial API Call (Nginx Reverse Proxy, Tomcat, RTK Query, React Native, Let's Encrypt)
We are facing an issue where the first API call in our React Native app takes 45-60 seconds due to a slow SSL handshake. After the initial request, subsequent API calls work fine.
Our setup is as ...
0
votes
0
answers
16
views
Handle HTTP Response For iframe - 405 on OPTIONS
I'm adding in an iframe onto a page and when it makes a CORS request to another static file on my server, it always responds with a 405 response. I've tried editing my sites-enabled\domain file to ...
-1
votes
0
answers
30
views
Issue with local SSL certificates using Nginx Proxy Manager [closed]
I'm trying to setup Nginx Proxy Manager (Docker) to get SSL certificates for all my local services. All my services are working fine and already have SSL certificates thanks to Nginx Proxy Manager. ...
-1
votes
0
answers
39
views
403 Forbidden Error When I Try To Access My Website's PHPMyAdmin site
I'm. trying to set up a PHPMyAdmin DB on my website (nginx), it's been hosted on a VPS, but I get the 403 error. Here's my /etc/nginx/sites-available/default file. I've done many things, visited ...
0
votes
1
answer
21
views
nginx access logs on GCP
I'm running nginx version 1.14.0 on a GCP VM running a container OS (cos-stable-89-16108-470-1). I'm trying to get the nginx access logs to GCP cloud logging, in json format.
Firstly, logs appear on ...
-2
votes
2
answers
58
views
Error with Nginx (ERR_TOO_MANY_REDIRECTS) in VPS Hostinger default config WordPress [closed]
I'm having a problem with my Wordpress hosting on a Hostinger VPS with CloudPanel and NGINX. I've tried reinstalling it, it worked for 10 minutes (which is strange) and then it stopped working.
...
0
votes
0
answers
25
views
How do I return a response from the destination server in case of an error in Nginx?
I need to always return in case of errors. 400, 401, 403, 404, 500... my html pages with errors if the response is from the destination server is text/html, otherwise I can return the server's ...