How to configure nginx fort UDP and TCP
Hello, well, I cannot at all configure my NGINX which is located in front of 4 production servers (supervision, deployment, antivirus console, etc.). in fact I would like this nginx server to be in...
View Article.net 5.0 API and nignx on linux 18.04
Hi, I must say I am using this forum as a last resource before putting everything aside and becoming yoga teacher. These are the steps I executed, but don't seem to work as I keep getting the "This...
View Article502 and 504 error shows up only on specific clients
Hello @all I'm facing a strange problem using nginx as a reverse proxy in my setup. I have setup several subdomains leading to different internal webservers (so far all ok) On my PC the connection...
View ArticleNginx redirect all to https with www
I have been trying to get this to work for a good amount of days but so far did not succeed. I still get people telling me that they see a "not safe" message when they get to my website by entering...
View ArticleNGINX cache server for remote docker repo/registory
I'm new with NGINX, but I need to cook a solution to set up an NGINX cache server which returns cache content or redirect the request to remote docker registry. Would you provide simple steps and...
View Article.htaccess deny access not working
The server is set up with Nginx -> Varnish -> Apache. The following nginx vhost conf rule block is essentially causing .htaccess files to be ignored: … location / { location...
View ArticleRe: .htaccess deny access not working
After lots of testing, this seems to work but I would like to know if this is the most efficient solution: … location / { #### MY NEW RULE ### location ~ /(my_files/uploads/files|dir1|dir2) { #deny...
View ArticleHow to refuse connection when proxy_pass backend is down
Hello guys. I have configured backend server for my application on port 8081. On my other server443 port is open and I did setup on nginx to proxy_pass on port 8081. Configurations is as: only server {...
View ArticleMultiple Location Blocks not working
I'm struggling in a little confusion and that is I have a node server with multiple routes, like these app.get('/checkAPI', (request, response) => { console.log('API check requested');...
View Articlecharset UTF 8
Hello! My URL go from /wiki/Rüstung to /wiki/Rüstung/ My nginx conf is https://just-paste.it/73qjJhqgxE I don't know what is wrong. With apache2 I hadn't the problem.
View ArticleHow to register our own phase handler after a specific standard nginx module...
Hi, as we know NGINX HTTP request passes through a sequence of phases like NGX_HTTP_POST_READ_PHASE so on and many standard nginx modules register their phase handlers as a way to get called at a...
View ArticleRedirection PNG, JPG to WebP
Good morning all. I want to redirect all my PNG and JPG images to their WebP versions. I tried several versions of the code, but each time no more images appear. This is the last code I used: location...
View ArticleGetting 400 Bad Request on .js.php Files
Hello Group, we have a website running with an upload for media files. When i want to upload media then the following error is sent back to the browser: upload:524 GET...
View ArticleUpgrading PHP with NGINX
So I'm tasked with upgrading php that was installed with NGINX (OS = RHEL 7.9). I installed NGINX from the RHEL repo, but the instructions I followed to add PHP got it from the remi repo. Is it...
View ArticleIDE support ?
Hey guys, I've been trying to "load" nginx as a project in CLion, however, for some reason nothing "works". There's no code completion, no "shift click" on a function to lead to its implementation and...
View ArticleRe: Upgrading PHP with NGINX
After digging a bit deeper, I find that I can just install 7.3, uninstall the php-fpm, but I'm unsure how to do what I'm doing in nginx with standard php. So after looking at my situation, I'm VERY...
View ArticleNginx showing 504 Gateway timed out when uploading large files
I have a simple PHP file upload script that uploads a file. The server consists of 1 nginx reverse proxy and another nginx server (upstream). The problem is that when I try to upload very large files ~...
View ArticleHow do I troubleshoot 403 access forbidden by rule error?
In the first 40-50 minutes after I restart my server (Apache with Ngintron) I get a 403 nginx error, and in the logs it says "access forbidden by rule". I have all my traffic redirected to HTTPS. This...
View ArticleRe: Access logfile without IP
Hi, I configured HAProxy as a reverse proxy. I would like te see in the acceslogs of my nginx webserver the original client IP issueing the request. Therefore I configured HAProxy as follows: --**--...
View ArticleHow to debug or do profiling HLS stream
Hey every one, I need help to debug my video stream using nginx. The stream some times get stucked or get a little jump between frames and I don't know how to solve this. I'm using the next config...
View Article