54,506 questions
Best practices
0
votes
3
replies
81
views
How to efficiently manage redirect rules for multiple similar domains (e.g., typo protection) in Nginx without hardcoding?
I am setting up a web application and have registered a few similar domain names for brand protection and to catch common user typos. For example, my primary domain is yongjiucha.com, and I also have ...
Score of 0
0 answers
58 views
n8n + postsgresql on nginx
I am trying to install n8n on my Nginx server.
I use the server to host 3 different Drupal websites plus an RTMP server and i have install all with Drush and Drupal Compose, so this will be the first ...
Score of 1
2 answers
111 views
Python waitress-serve behind nginx reverse proxy [closed]
I have a problem with the reverse proxy of nginx.
I use:
waitress-serve --host 127.0.0.1 --call moviedb:create_app
The server listen on:
127.0.0.1:8080
The I have configured nginx as a reverse proxy ...
Advice
0
votes
1
replies
74
views
how to return redirects instead of content on path normalized requests?
I just noticed nginx normalize file system requests (I only see those requests from bots, since browsers do that normalization themselves BEFORE sending the request)
For example:
https://example.com/./...
Score of 0
1 answer
93 views
First participant works, second participant breaks media publishing on AWS
LiveKit works on localhost but fails on AWS Docker deployment with PublishTrackError: publishing rejected as engine not connected within timeout
I'm building a video conferencing application using:
...
Score of 1
0 answers
71 views
Next.js + Better Auth Successful Login (200 OK) but Server Component redirecting back to /sign-in (Redirect Loop behind Nginx)
We are running a Next.js App Router application (standalone build) using Better Auth and Prisma inside a Docker container behind an Nginx reverse proxy.
When attempting to log in:
The credentials ...
Best practices
0
votes
2
replies
113
views
Should trailing slash URLs redirect to non-trailing slash URLs?
I have a Laravel website running behind nginx, and I am trying to understand the correct way to handle URLs with a trailing slash.
For example, there can be two possible versions of the same page:
/en/...
Tooling
0
votes
2
replies
60
views
KM Worker vs KM Master node [ is I can have pods in KM Master ? ]
I am newbie to Kubernetes.
Upto what I know a Virtual Machine or a actual Computer Machine can be configured as Kubernetes node and node can have several pod
Being said we can configure Kubernetes ...
Best practices
0
votes
0
replies
49
views
How Redirect WWW on Subdomain to Subdomain with Nginx
Me have a website multiple subdomain, but google crawling www on subdomain, example www.politik.rakyat.news, me no like for this.
Me want redirect from www.politik.rakyat.news to politik.rakyat.news ...
Score of 2
1 answer
89 views
Forwarded headers are not being picked up by ASP.NET Core
In my app I have this configuration in Program.cs
// Fetch Cloudflare IP ranges if not in dev env
IList<string> cloudflareRanges = [];
if (!builder.Environment.IsDevelopment())
{
using ...
Score of 2
1 answer
138 views
Inject Custom Variable into ngx_http_fastcgi_module at Runtime from a Third-Party Module
I am writing a third-party c NGINX module.
I want to do similar to apache module mod_env:
SetEnv MY_VAR hello
In normal NGINX config this works:
location ~ \.php$ {
fastcgi_pass unix:/run/php/php-...
Score of 1
1 answer
130 views
xhr poll error while connecting on socket server using socket.io with nginx proxy
My server with socket.io is running fine without nginx proxy, but when I use nginx proxy, its getting an xhr poll error when trying to connect
Here's the server block of my nginx looks like
location /...
Score of 0
0 answers
85 views
Difficulty setting up reverb in prod server
I've got reverb working on my local machine. Now I'm having difficulty getting it to work on the server. I think I've finally gotten supervisor to run properly already so now my only issue is that the ...
Advice
0
votes
1
replies
76
views
How can I create a .yml file and create containers from DockerHub images like nginx, wordpress and mysql?
I have to create a docker-compose.yml file. I'm a begginer with docker, so i don't know some simple stuffs. But, the final goal is to create a Multi-container application and the nginx server have to ...
Advice
0
votes
1
replies
77
views
URL modification with NginX
I have a simple directory with the following architecture:
www.mydomain.com/city_name/item_id/
Is it possible to modify URLs according to this view:
city_name.mydomain.com/item_id/
using NginX?
Thanks!...