Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Allowing only access in NGINX when local or connected via VPN [closed]

I would like to offer websites via my nginx, some of which are available over the Internet, but others can only be accessed from the local network. I came up with this through BitWarden, for which I ...
TheBohne's user avatar
0 votes
0 answers
21 views

Nginx configuration to resolve Azure billing endpoint

I run azure container with this command successfully: podman run -d --name document-recognizer -p 5000:5000 -e EULA=accept -e billing=https://azurevn.cognitiveservices.azure.com/ -e apiKey={apikey} ...
Molder Ng's user avatar
0 votes
1 answer
13 views

Web app not accessible after DNS being configurated

I have a web app running in docker on an Azure server. Previously it was accessible via https://servername:4200, since the company hasn't configurated the DNS for me. Today, the IT inform me that DNS ...
AoLiGei's user avatar
  • 51
0 votes
0 answers
16 views

405 Not Allowed Error on POST Request through Nginx in MERN Applicatio

I have a MERN application set up with Nginx as the reverse proxy. My containers are successfully running, and I can reach my API with GET requests through Nginx. However, when I try to make a POST ...
rumeysa yuk's user avatar
-2 votes
0 answers
14 views

NGINX blocks url paths [closed]

I have a server running nginx. It was configured by default with the service I purchased. I face an "500 internal server error" whenever I open the website link like 'website.com/page1' or '...
Omer Khan's user avatar
0 votes
0 answers
13 views

Nginx cache entry after header update

Nginx cache with proxy_cache_background_update on; some api response that has Cache-Control=max-age=7, public, stale-while-revalidate=59. After a while upstream response changes header for the same ...
Axon's user avatar
  • 361
0 votes
0 answers
32 views

Kubectl ingress does not let access to the internet

I am trying to use ingress to make a pretty basic flask application reachable via internet. I am using the following configuration hello-replica-set.yml apiVersion: apps/v1 kind: ReplicaSet metadata: ...
Ivan's user avatar
  • 127
0 votes
0 answers
11 views

Delete request to idrive e2 not working on VPS

I have a function that uploads images to idrive e2 and another to delete it. uploads work perfectly. Delete gives 404. const response = await axios.post(`https://api.heartstribute.com/api/...
Yuri's user avatar
  • 1
0 votes
0 answers
24 views

405 Method Not Allowed Error for PUT Requests in Nginx Configuration

I have an Nginx server running over EC2 instance configured to handle various HTTP methods including GET, POST, and PUT. However, when I attempt to send a PUT request, I receive a 405 Method Not ...
Saul's user avatar
  • 1
0 votes
0 answers
14 views

How to Route MQTT via a reverse proxy

I have applications created using docker-compose services: backend: image: backend:latest ports: - 8005:8005 depends_on: - mytb mytb: restart: always image: "...
ERTY's user avatar
  • 37
1 vote
1 answer
22 views

Nginx overwrites desired port when using proxy_pass on a subdirectory to direct request to node server

I have the following nginx config: server { listen 80; listen 443 ssl; ssl on; ssl_certificate /home/tom/local.tjrhodes.com.pem; ssl_certificate_key /home/tom/local....
Tom Rhodes's user avatar
0 votes
0 answers
21 views

How to Properly Configure Nginx Reverse Proxy for WebSockets Deployment?

I'm deploying a C# backend application on Firebase. During development, I used HTTP without any issues. However, after deploying to Firebase, I encountered an error because Firebase enforces HTTPS. To ...
tellxmaster's user avatar
0 votes
1 answer
31 views

CORS failed: The Same-Origin Policy disallows reading the remote resource

I keep getting the following error in Firefox: Cross-Origin Request Blocked: The Same-Origin Policy disallows reading the remote resource at http://192.168.0.146:5000/api/auth/login. (Reason: CORS ...
r-kane's user avatar
  • 39
0 votes
0 answers
17 views

Token doesn't match specifier '%d'" Error When Parsing Logs - How to Correctly Set the Log Format?

I'm using GoAccess to parse NGINX access logs, but I'm encountering an error when trying to match the date and time format. I haven't been able to correctly set the log format for GoAccess to parse my ...
Andrey Molfly's user avatar
0 votes
0 answers
30 views

protect nginx with oauth2 proxy using github

I am trying to make a simple example of using oauth2 proxy to illustrate how it works so i made this docker-compose.yaml file version: '3' services: nginx: image: nginx:latest ports: - ...
Ahmed Zedan's user avatar
0 votes
1 answer
26 views

Django application deployed on Ubuntu server redirects to login page after successful login

I have deployed django on ubuntu 22 server with nginx as the application server, but when I login in to the system and on each request I get redirected back to the login.` if form.is_valid(): ...
Akwesi Bonah's user avatar
-1 votes
0 answers
41 views

How to create a Pypi Offline repository only using "pip download" and nginx? (I.e. not bandersnatch)

My goal is to use my host (Rocky 9.4 amd64) and download a full offline copy of all whl/targz/etc copy of Pypi to move to my homelab. I attempted to use bandersnatch but unfortunately have not been ...
PythonWubiUser's user avatar
0 votes
1 answer
46 views

MIME error when routing through Azure App Gateway and custom nginx conf

I have two react apps hosted on two different azure web apps fronted by an azure application gateway with a path-based routing rule (one rule with 2 paths - "/" and "/members") as ...
Parth Sekar's user avatar
0 votes
0 answers
22 views

How to setup nginx for vlang

This is my first time using nginx and i am having issues trying to serve js, css, images. I have this v project. I know the namings are awful, this is just a test project so i can do the real one ...
THE CAT BROKEN's user avatar
-2 votes
0 answers
24 views

Make .sh in /docker-entrypoint.d/reload-cert.sh executable [closed]

I set up webserver with cerbot and nginx following this guide. My docker compose now looks like this webserver: image: nginx:1.27 ports: - 80:80 - 443:443 restart: always ...
Ctulhu Monster's user avatar
0 votes
1 answer
25 views

Modsecuriy and GeoIP Not working even though it is correctly configured [closed]

I am currently using Modsecurity V3 (Docker Image based on OWASP CRS V4.5). I have added the following: modsecure_setup file: SecGeoLookupDB /usr/share/GeoLite2-Country.mmdb (I have downloaded the ...
Visshal's user avatar
  • 11
0 votes
0 answers
16 views

ERR_EMPTY_RESPONSE when serving a React app on Nginx from Docker image

I have a React app that I created with Vite. I want to dockerize and deploy it to several environments, and serve it on Nginx. From Docker image, I want to run it locally via docker-compose, for other ...
Melih's user avatar
  • 738
-2 votes
1 answer
153 views

NGINX blocked the request from frontend through backend and frontend are in the same domain but differs in port [closed]

I built a web application with node.js backend and vue as frontend on the cloud, by using nginx both backend and frontend are served in 80 port (backend) and 8080 port(web frontend). On the backend's ...
user824624's user avatar
  • 7,789
0 votes
0 answers
20 views

After switching from a public IP to an Elastic IP in AWS, my API page is no longer accessible, and Nginx is stuck on the "Welcome to nginx!" page

I initially set up an API on an Ubuntu virtual environment using Nginx, Gunicorn, and Supervisor, and it was working fine with the original public IP address. However, I decided to attach an Elastic ...
Luke Lyu's user avatar
0 votes
0 answers
18 views

Dockerized Microfrontend Shows White Screen in Production, No Errors in Console

I'm working on dockerizing and deploying a microfrontend (MFE) application. The development Dockerfile works fine and loads the app as expected. However, when I switch to the production Dockerfile, ...
Okere chinedu's user avatar
0 votes
0 answers
22 views

Docker Swarm + Traefik + Nginx (3 VMs)

I have 3 vms (main, node-1, node-2), the public IP of main server is 1.1.1.1 I initiated docker swarm on main server (leader) and "JOIN" node-1 and node-2 I would like to try the load ...
shackdown's user avatar
0 votes
1 answer
65 views

Kubernetes 502 Bad Gateway error: connect() failed (111: Connection refused) while connecting to upstream

First of all I'm new to Nginx, Docker and Kubernetes so I may made an obvious mistake but after a complete week of searching and trying stuffs, I'm facing the same error. Also, I've seen other similar ...
PeacefulBee's user avatar
0 votes
0 answers
26 views

"(35) OpenSSL/3.0.8: error:0A00010B:SSL routines::wrong version number" on nginx server

I have been working on trying to configure an nginx server to run my Svelte application on an aws ec2 instance for about a week now with varying success. I am no expert with nginx, so I'm sure there ...
Septillion's user avatar
0 votes
0 answers
32 views

Nginx configuration not applying after reload, but does after restart [closed]

Had a problem where after adding some config files to conf.d and then reloading, it applied the files but the HTTP requests resolved to 404 page not found and HTTPS requests resolved to "Welcome ...
Milan Gasevic's user avatar
0 votes
0 answers
16 views

Exposing Nginx ingress controller services using Ngrok get Request Rejected

I am deploying an nginx ingress controller on a vm and using ngrok to expose it to public network but keep getting Request Rejected error after my master node ip changed. Is this error related to tls? ...
phunguyen's user avatar
0 votes
0 answers
8 views

Chrome Bookmark keeps cache after hard refresh

Problem We published a new version of our application. If users go to the application by clicking on a Chrome bookmark, they get the older version. Going to the same URL in any different manner will ...
Job's user avatar
  • 11
1 vote
0 answers
25 views

Angular app deployed behind ingress controller returns invalid mime type

I am trying to deploy an angular application in my local minikube cluster, behind a ingress controller. I am using the builtin nginx ingress controller. When I try to access the correspoding path to ...
Sharan Phadke's user avatar
0 votes
2 answers
66 views

How to deploy an Angular 18 SSR application, with Docker, docker-compose, and NGINX?

I've upgraded my app to Angular 18, and I want to use SSR technology in order to have better performance and SEO. Without SSR, I had no problem relative to deploy and run in production my app, but now ...
Mario Proietti's user avatar
0 votes
0 answers
60 views

How to get user IP with Nginx in FastAPI?

request.client.host doesn't work (it gives Docker IP). Code from GitHub doesn't help too (locally it works): @app.get('/') def index(real_ip: str = Header(None, alias='X-Real-IP')): return real_ip ...
Ch1irxo 17's user avatar
0 votes
1 answer
37 views

Docker - Nginx doesn't let me access wp-admin

I have a docker compose that runs three containers: MariaDB, WordPress and Nginx. When I do https://localhost in Firefox, I get a wordpress sample page, which is what I want. However, when I try to ...
nobody really's user avatar
0 votes
0 answers
22 views

Nginx with Docker - 404 Errors for Static Assets When Using a Subdirectory in the URL

I have an application running in a Docker container with Nginx configured to serve it under a subdirectory, e.g., /customer-portal/. The backend application is unaware of this prefix and expects to be ...
zuri_nahk's user avatar
0 votes
1 answer
29 views

Nginx Location Exact Match (location = /) Causing 404 Error Despite File Existing

I have an Nginx server configuration where I'm trying to serve a specific file home.html when a user accesses the root URL /. Here’s my Nginx configuration: server { listen 80; server_name 127.0.0.1 ...
Jaswinder Singh_6080_M's user avatar
0 votes
0 answers
10 views

Transforming lighttp configuration into nginx : something wrong for some redirects?

I deployed raspap with its webui. It uses by default lighttpd and I would like to change for nginx but it seems some assets (e.g. logo) fails to be loaded and the links loop back to the index page ...
Jeremy's user avatar
  • 21
0 votes
0 answers
34 views

Slow chunk file Upload Speeds with Nginx and Node.js Despite Low Server Resource Usage

I've been struggling with slow upload speeds when handling file uploads through an Nginx reverse proxy to a Node.js (Express) backend. Despite the server having plenty of resources available (low CPU ...
Alex Aung's user avatar
  • 3,029
1 vote
0 answers
23 views

nginx conf on docker same for xampp

I'm following a youtube tutorial on how to setup docker with PHP. I came across this code for nginx configuration. server { listen 80; server_name localhost; root /app/public; index ...
Hey's user avatar
  • 155
0 votes
1 answer
13 views

adding NGINX proxy_pass to Redis and mongodb got errors

I need to proxy redis and mongodb through nginx. This is config file in /etc/nginx/nginx.conf. stream { server { listen 27030; proxy_connect_timeout 1s; proxy_timeout 3s; ...
user824624's user avatar
  • 7,789
0 votes
0 answers
39 views

Using forwarded headers with AKS Ingress

Problem We recently migrated to Azure AKS with the application routing add-on using private DNS zones. However, we are encountering an issue where the real domain, e.g., auth.company.com, is not being ...
SOK's user avatar
  • 595
0 votes
0 answers
23 views

How to validate a ceritifcate chain in mTLS using nginx ingress controller in kubernetes

I'm implementing mutual TLS through my nginx ingress controller in kubernetes, and I was able to implement a basic one, using a self signed certificate (OpenSSL) acting as the root certificate, and ...
arwa abdelhalim's user avatar
-2 votes
0 answers
61 views

How can I determine whether requests to my WebServer are coming from hosts directly connected to switch or from neighboring switches in Apache or PHP? [closed]

I have a Linux host connected to a layer 2 switch where I’ve set up a web server using Laravel and Apache. On this web server, I need to identify the source of incoming requests: whether the requester ...
hamed's user avatar
  • 477
0 votes
0 answers
31 views

use lua script and redis for set pattern in location openresty

stream.conf.template: server { charset utf-8; client_max_body_size 128M; listen 80; listen 443 ssl http2; ssl_certificate /ssl/ssl.everything; ssl_certificate_key /ssl/...
Esmail Ebrahimi's user avatar
0 votes
1 answer
27 views

How can Sinatra be configured to run within a virtual sub-directory of a reverse proxy?

I have an app in Sinatra that accepts requests at the root and with a name using: get '/' 'Root page' end get '/:name' #Some code here end When hosting the application behind a reverse-proxy ...
N.K's user avatar
  • 15
0 votes
0 answers
10 views

connect server via ipv6 ? [nginx] [closed]

tried to edit the server_name block in nginx.conf with server { listen 9999; server_name <permanentipv6> <temporary1ipv6> <temporary2ipv6> ...
ACI99-0001's user avatar
0 votes
0 answers
31 views

Can’t access the website hosted in VM after setting up the DNS record [closed]

I have a VM created in Google Compute Engine, and I have docker container for nginx nginx/Dockerfile FROM nginx:alpine COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 nginx/nginx.conf ...
ERTY's user avatar
  • 37
0 votes
0 answers
18 views

Getting an error while setting up nginx, invalid variable name [closed]

I'm trying to set up nginx and after a create a symbolic link between sites-available and sites-enabled, I get this error when I use sudo nginx -t nginx: [emerg] invalid variable name in /etc/nginx/...
Mikey's user avatar
  • 61
0 votes
0 answers
117 views

Nginx Proxy Manager "502 Bad Gateway- openresty"

I've recently set up NPM for some servers on my backend and everything seems to be working just fine for most except for a couple servers that seem to return a "502 Bad Gateway" errors even ...
Mouad Rahoui's user avatar

1
2 3 4 5
1113