Category "nginx"

Dovecot SSL path for email server behind nginx reverse proxy

it's my first post here although I've been lurking since my IT career started. My issue is as follows: I have got a separate VM running an email server and sepa

Unable to serve static file in Django deployed to production in Digital ocean

Currently I deployed my django app in Digital ocean droplet. In localhost it works well but it cant serve js/css files in static folder when deployed to prod. H

Can't establish wss connection [React + ASP.NET Core, SignalR + nginx]

I have React app that talks to Asp.Net core API. Both of them are deployed on Docker on my VM. Nginx is installed and configured to resolve domain names for app

SSL Passthrough is is not working for server alias, but only for host - kubernetes ingress NGINX

I created a Kubernetes ingress object with the following configuration. It has one host and one alternate server name (server alias). apiVersion: networking.k8s

Kustomize with Nginx Virtual Server - Server Snippets

I'm migrating a complex helm deployment to Kustomize to remove the templating complexities but am running up against trouble when it comes to the nginx virtual

nginx redirecting all subdomains (when it shouldn't)

I have an nginx server running. I want it to redirect http://www.example.com to https://www.example.com, but not touch any other subdomains like http://foo.exam

nginx: [emerg] "if" directive is not allowed here in /etc/nginx/nginx.conf:64

So I am trying to block certain web browsers (not that you need to know) and everyone says to add if ($http_user_agent ~* (Chrome) ) { return 403; } I do all of

Running Omnibus Gitlab in Docker with Container Registry

I'm running gitlab on docker with a relative url my.domain.com/gitlab/. I have a nginx reverse proxy which passes the requests. Everything seems to be working f

nginx live streaming only audio not webcam

I have implemented the recommended steps as described in several sites (https://www.digitalocean.com/community/tutorials/how-to-set-up-a-video-streaming-server-

How to run sites in subdirectories with NGINX

My NGINX app looks like so: server { listen 80; server_name server_domain_or_IP; location / { include proxy_params; proxy_pass http

How to run sites in subdirectories with NGINX

My NGINX app looks like so: server { listen 80; server_name server_domain_or_IP; location / { include proxy_params; proxy_pass http

how to resolve nginx 502 bad-gateway error

I've containerized the next.js web application and hosted in aws ec-2. using nginx as proxy server this is the only working page / not working for any other p

Configure Nginx as Reverse Proxy for Nodejs App on Jelastic

I've tried using standard nginx and nodejs configurations following many documentation, but unlike other tutorials there are several files that don't appear in

Proxy server nginx config - 502 bad gateway error

I have a fastapi as backend and an html file as a frontend which are supposed to be running on docker. Here are my file structure: C:. | docker-compose.yaml |

How to configure webhook in nginx?

I am trying to configure the nginx.conf file to receive webhook requests from an external website. The request gets failed with status code 405 (not allowed) wh

Nginx Proxy_pass / redirect to fixed url

I created a simple react app to serve as an error page (might be a bit overkill). The idea is that we can easily customize the errors via query parameters or UR

Next.js rewrite with x headers

I have a web app where users can build their own profiles with their usernames like below. ourplatform.com/john ourplatform.com/john/about ourplatform.com/john/

Nginx: keep limiting the user for a duration

I'm limiting the requests based on CLIENT-KEY header. The problem is that I need to keep sending the 429 status code for one minute after the header is limited.

Where is the bug in docker-compose?

I run a simple project (docker-compose and nginx), but it don't work and I do not know why. I include the entire code of the project so as not to miss anything.

NGINX Setup to Match Proxy Middleware Configuration

I have the following setupProxy.js class that configures redirection for api calls to my server. const { createProxyMiddleware } = require("http-proxy-middlewar