Questions tagged [nginx]
Nginx is a web and proxy server. Note that questions on the use and configuration of server software may be off-topic and subject to closure if they do not directly involve a programming context. Other Stack Exchange sites such as Super User, Server Fault, or Webmasters may be more appropriate places to ask such questions.
nginx
55,631
questions
0
votes
0
answers
6
views
how to get my datadog agent to record logs from nginx which is monitoring a website?
As above. I work at a bookshop which runs a website. Due to hacking issues, we've started monitoring urls visiting the website.
Someone at the IT company we used has set up nginx and postgresql ...
0
votes
0
answers
23
views
Intermittent 502 Bad Gateway on high loads in NGINX
I have NGINX set up on a Windows Server (let's call it server 1) balancing two API's hosted in other two Windows Servers (let's call them server 2 and 3) through IIS.
When Active connections gets past ...
0
votes
0
answers
29
views
Can I serve a git repo and html from the same URI?
I have a small static website, generated by a script which I want to distribute along with the source data. Thus if I make a hook which runs git update-server-info, the HTML will be at https://example....
0
votes
0
answers
24
views
'User.Claims' object is empty when NET 6 app is deployed in Linux and returns error 401 after user login
I have a NET 6 app with Angular frontend. It works in a production environment set up with Windows Servers and IIS. However I have to migrate it to Linux cloud, due to costs and other reasons.
I've ...
0
votes
1
answer
22
views
How to allow specific IPs and deny all on nginx?
I am running docker containers on windows local PC.
and set port forwarding on my local router to enable external entering.
/etc/nginx/conf.d/default.conf is below.
I tried allow xxx.xxx.xxx.xxx; and ...
0
votes
0
answers
9
views
Why does adding a trailing slash to the Nginx path /api fix the 404 error when using auth_request?
I encountered a path matching issue while configuring Nginx to internally forward requests. When the path /api does not have a trailing slash, the subrequest is successfully handled by the verify ...
0
votes
0
answers
20
views
Hosting strategies for python django rest api very light weight applications in production environment?
I am currently hosting python web services on apache server with mod_wsgi in daemon mode.
Every thing is fine until, I have added a new virtualhost or changed existing virtualhost becuase when I have ...
0
votes
0
answers
15
views
Not able to test nginx clusterip service within kubernetes cluster from controlplane node [closed]
I have two nodes, one is control-plane node on a AWS Linux VM and other node is worker node on another AWS linux VM. I have deployed a nginx pod with container port 80 and its clusterip nginx service ...
0
votes
0
answers
9
views
Atlassian Confluence Error Through Nginx/CloudFront Reverse Proxy
I'm trying to map public links path to a shorter path.
I'm using a Nginx reverse proxy.
The same happens with CloudFront.
This is the configuration:
server {
listen 80;
location / {
...
0
votes
0
answers
11
views
Blazor WebAssembly in Docker: Client Shows 'This page isn’t working right now' Error
I have a project with two parts: a server using ASP.NET Core Web API and a client using Blazor WebAssembly (PWA). I'm trying to containerize both parts using Docker. While the build and run processes ...
0
votes
0
answers
24
views
Proxy local TCP connections using nginx
I need to proxy TCP connections from my local PC using nginx.
I want to open a TCP connection (via .NET client) to a specific address and port, let's call it backend.
I cannot directly access it and I ...
0
votes
0
answers
20
views
What is wrong with Nginx conf file?
this simple conf file does not work - it always connect to one server only (using Windows version 1.26.1)
worker_processes 1;
events {
worker_connections 768;
}
http {
upstream myapp {
# ...
0
votes
1
answer
19
views
Prometheus Metrics with Docker Swarm
Metrics collection with Docker Deploy Replica
I am a developer, but in my new job, the company doesn't have a DevOps team. So, we don't have any type of metrics collection or proper CI/CD flows. ...
0
votes
0
answers
27
views
NGINX returns 404 for the image files with extension but renders without extension
I'm using active storage to upload files and using nginx for the request routing. I have added file upload functionality in my application which was working fine when using S3. Now I have switched to ...
0
votes
0
answers
20
views
How to nginx match exact / and /(any site)
I'm trying to set my application to redirect from root / to a default path. What I'm trying to do is when someone goes to https://apps.domain.com it will redirect to https://apps.domain.com/account ...