Hello, I found the solution myself. Actually, nginx was returning 400 in error log, but the internal returned code was 495. So I added above all locations in server {} the following: error_page 495 =401 /mypage.html; All works as expected, hopefully I did not mess something else on the way. Thanks!by cicovy - How to...
Hi, Does anyone know if I can return a different code if I get the returned code 400 - Bad Request? I want to configure a section of my server in a way that if the code is 400, actually to send 401 or 403? Thanks!by cicovy - How to...
Has this forum died? The only way to get some help is to go for the paid support? I remember a few months ago, replies even from Igor were common, now nothing... Can someone help me please? Thanks!by cicovy - How to...
Hi there, Can someone point me to the right direction to validate a $_GET variable and in case is not IPV4 format, to ignore that request? The proper URL format is: https://domain.com/myWS/reporting.php?key=1234&ip=xxx.xxx.xxx.xxx&other=1234 Sometimes, I get the following URL: https://domain.com/myWS/reporting.php?key=1234&ip=<!DOCTYPE...&other=1234 What I want is thatby cicovy - How to...
Thank you so much for the confirmation wonderful nginx community!!!by cicovy - Nginx Mailing List - English
I just found out that it's not possible to add ssl_verify_client directive in a "location". I received a suggestion from @kolbyjack on the nginx IRC channel which helped me with this problem. The solution was to deal with the $ssl_verify_client returning value. if ($ssl_client_verify != SUCCESS) { return 401; break; }by cicovy - Nginx Mailing List - English
I just found out that it's not possible to add ssl_verify_client directive in a "location". I received a suggestion from @kolbyjack on the nginx IRC channel which helped me with this problem. The solution was to deal with the $ssl_verify_client returning value. if ($ssl_client_verify != SUCCESS) { return 401; break; }by cicovy - How to...
Hi guys! I've been using nginx for a while and I'm very pleased with it's performance. However, I didn't manage to setup one thing, maybe someone has an idea... Before using nginx, I used apache and I had a configuration similar to the next one for certain alias, which I want to force client SSL requirement and for other areas of the site I didn't need that. I've posted the example of apache cby cicovy - How to...
Hi guys! I've been using nginx for a while and I'm very pleased with it's performance. However, I didn't manage to setup one thing, maybe someone has an idea... Before using nginx, I used apache and I had a configuration similar to the next one for certain alias, which I want to force client SSL requirement and for other areas of the site I didn't need that. I've posted the example of apache cby cicovy - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|