Re: Restarting service takes too much time

2022-12-03 Thread blason
Yes - He is right; everything is revolves around DNS and even my error is with DNS resolving as it was not able to resolve the ocsp.godaddy.com hence please troubelshoot from DNS perspetive. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295945,295963#msg-295963

Re: QUIC: position of RTT and congestion

2022-12-03 Thread Maxim Konovalov
Hi, Your patches are more than welcome. Maxim On 01.12.2022 02:57, 朱宇(黎叔) via nginx-devel wrote: Thank you for the reply. And one question follows: Will the patches from community of such features be accepted , or should wait for official updates? ​ --原始邮件

Trying to confirm syntax of CLIENT_MAX_BODY_SIZE environment variable

2022-12-03 Thread David Karr
(Sorry if this is a dup. I sent this originally before my subscription was confirmed.) I was told that v1.22 of nginx will look for a CLIENT_MAX_BODY_SIZE environment variable to configure the "client_max_body_size" configuration property. I'm having trouble finding a clear statement of what

Fixed gzip_disable_degradation defined without NGX_HTTP_DEGRADATION (broken by 3b522d7a5b34).

2022-12-03 Thread 淮叶
Hello! I think gzip_disable_degradation needs NGX_HTTP_DEGRADATION in order to be consistent with where used. details: https://hg.nginx.org/nginx/rev/3b522d7a5b34 # User BullerDu # Date 1670079834 -28800 # Sat Dec 03 23:03:54 2022 +0800 # Branch

Rate limting in a distributed setup

2022-12-03 Thread Saurav Sarkar
Hi All, I am newbie to NGINX and want to use NGINX as a reverse proxy for my cloud foundry apps. I am using NGINX cloudfoundry buildpack. https://docs.cloudfoundry.org/buildpacks/nginx/index.html I was exploring the rate limiting options and was able to achieve basic rate limiting using

Re: условный CORS, if, try_files и fastcgi

2022-12-03 Thread Илья Шипицин
так, пожалуй, и сделаю. сб, 3 дек. 2022 г. в 15:59, Maxim K : > Убирайте if > в значение Access-Control-Allow-Origin подставляйте переменную из map, > например > map $http_origin $cors { > default ''; > ~^https?://mydomain.com$ $http_origin; > } > server { > ... > location / { > ...

Re: условный CORS, if, try_files и fastcgi

2022-12-03 Thread Maxim K
Убирайте if в значение Access-Control-Allow-Origin подставляйте переменную из map, например map $http_origin $cors { default ''; ~^https?://mydomain.com$ $http_origin; } server { ... location / { ... add_header Access-Control-Allow-Origin $cors; } } в случае пустой строки в