54,762 questions
0 votes
2 answers
41 views
API request tracing with NextJS, Nginx and Django
I’m trying to measure the exact time spent in each stage of my API request flow — starting from the browser, through Nginx, into Django, then the database, and back out through Django and Nginx to the ...
0 votes
0 answers
26 views
nginx got "Segmentation fault (core dumped)" 2 times [closed]
I would like to make nginx reload periodically. However, after many times of observation, I realized after second reload, nginx always got "Segmentation fault (core dumped)" and stopped ...
-3 votes
0 answers
55 views
Nginx not serving static files [closed]
Hi everyone I am trying to upload a application using Nginx, Gunicorn, Django application run fine in development environment but for production it does not serves static files. I tried hard but ...
0 votes
0 answers
49 views
Deploying a localized Laravel app using Dokku
I am using the laravel-localization package to localize my Laravel app. It works perfectly normal on local enviroment (using php artisan serve) and on shared hosting with Apache. I've just deployed it ...
-1 votes
1 answer
32 views
Extending Cookie Expiry in nginx
I am using nginx as a proxy between a front end and an API. When the API returns a token, nginx sets it as a cookie. The cookie will either have an expiry of 30 minutes, or 14 days if the user ticked '...
0 votes
0 answers
34 views
Nginx proxy to Tor hidden service via Privoxy getting "Invalid header received from client [closed]
I'm building a clearnet-to-Tor gateway where: Nginx on port 80 should proxy requests to a Tor hidden service Using Privoxy (port 8118) as HTTP-to-SOCKS bridge to Tor (port 9050) Direct Privoxy ...
0 votes
1 answer
104 views
Laravel API returning HTML instead of JSON when served via NGINX
My questions are not clear on this post that's I'll just edit it since I can't delete it.
0 votes
1 answer
46 views
WhatsApp Cloud API webhook verification fails: “The callback URL or verification token check failed”
i started to listening nginx, and when i press the button confirm and save, no one call or check my website, my nginx console is clear. But i past correct address. I spend to this whole day. Can ...
Best practices
0 votes
2 replies
45 views
How to configure Nginx so that X.509 authentication implemented with Spring Security works correctly?
I have a REST API server application that authenticates users exclusively via X.509 authentication implemented with Spring Security, using the Common Name (CN) from the client certificate directly as ...
1 vote
0 answers
70 views
Issue with sqlAdmin under https domain and path
Let me start from middle. I have been play around for a long time with these three part: nginx which handles the path Fastapi server sqlAdmin The url https://example.com/gem/admin must be passed to ...
-5 votes
2 answers
96 views
Nginx and PHP custom router [closed]
I made this php router, that parses urls in the index.php and calls certain functions. However my when my frontend hits the api, the api block returns the html that the / is supposed to return, its ...
0 votes
0 answers
35 views
Nginx cutting off Flask streaming responses (with Docker) even with buffering disabled
I have a Flask backend running inside Docker, and it streams AI responses using a generator. Locally it works perfectly, but after deploying with Nginx + Docker Compose, the streamed response gets cut ...
-1 votes
1 answer
46 views
Nginx with Docker not resolving domain redirection [closed]
I am trying to set up a home lab with HTTPS using Nginx. I have made the self signed certs and for this demo I am using the local domain production.local. My docker compose file for homer is services: ...
0 votes
0 answers
51 views
403 Unauthorized for JS files but everything else works
Can someone help me out why nginx returns a 403 Unauthorized for .js files, but other files work: I have a file /etc/nginx/sites-available/my-server.nl: server { listen 80 proxy_protocol; ...
0 votes
0 answers
42 views
redirecting heroku django app using nginx not working
I have a Django app hosted on Heroku. It runs via nginx & Gunicorn. Here is my Procfile: web: bin/start-nginx gunicorn --bind unix:/tmp/nginx.socket --pid /tmp/app-initialized config.wsgi ...