_______________________________________________ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginxby kaushalshriyan - Nginx Mailing List - English
_______________________________________________ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginxby kaushalshriyan - Nginx Mailing List - English
On Mon, Dec 18, 2023 at 11:19 PM Sergey A. Osokin <osa@freebsd.org.ru> wrote: > Hi Kaushal, > > On Mon, Dec 18, 2023 at 10:24:14PM +0530, Kaushal Shriyan wrote: > > > > I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux > > release 7.9.2009 (Core). I have the below config > > file /etc/nginx/conf.d/microservice.conf > > I wantby kaushalshriyan - Nginx Mailing List - English
Hi, I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux release 7.9.2009 (Core). I have the below config file /etc/nginx/conf.d/microservice.conf I want to capture full request/response body logging in nginx. # cat /etc/nginx/conf.d/microservice.conf server { listen 80; server_name 192.168.0.129; location / { # Capture request headerby kaushalshriyan - Nginx Mailing List - English
_______________________________________________ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginxby kaushalshriyan - Nginx Mailing List - English
Hi On Tue, Nov 28, 2023 at 3:17 AM Sergey A. Osokin <osa@freebsd.org.ru> wrote: > Hi Kaushal, > > hope you're doing well. > > Would you mind to provide your fillings and concerns, if any, on the > ngx_http_dav module. > > It's definitely possible to use the build scripts, available in the > pkg-oss repo, [1], update configure options and rebuild the package >by kaushalshriyan - Nginx Mailing List - English
Hi, I am running nginx version: nginx/1.24.0 on Red Hat Enterprise Linux release 8.8 (Ootpa). Is there a way to disable http_dav_module in Nginx Web server? # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release Red Hat Enterprise Linux release 8.8 (Ootpa). # # nginx -V 2>&1 | grep http_dav_module configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-patby kaushalshriyan - Nginx Mailing List - English
On Fri, Aug 18, 2023 at 1:39 PM Aleksandar Lazic <al-nginx@none.at> wrote: > Hi Kaushal. > > On 2023-08-18 (Fr.) 03:22, Kaushal Shriyan wrote: > > Hi, > > > > I am running nginx version: nginx/1.24.0 on CentOS Linux > > release 7.9.2009 (Core) > > > > # nginx -v > > nginx version: nginx/1.24.0 > > # cat /etc/redhat-release > >by kaushalshriyan - Nginx Mailing List - English
Hi, I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # I want to run a shell script every time my nginx server receives any HTTP request. Any simple ways to do this? Please guide me. Thanks in Advance. Best Regards, Kaushal ___________________________________by kaushalshriyan - Nginx Mailing List - English
Hi, I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # Is there a way to enable two way SSL on Nginx web server? Please guide me. Thanks in Advance. Best Regards, Kaushal _______________________________________________ nginx mailing list nginx@nginx.org httpsby kaushalshriyan - Nginx Mailing List - English
Hi, Is there a way to upload files to nginx web server https://software.mydomain.com from the browser ? I have the below nginx config file. I am running nginx version: nginx/1.24.0 on CentOS Linux release 7.9.2009 (Core) # nginx -v nginx version: nginx/1.24.0 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # *cat /etc/nginx/conf.d/default.conf* > server { > listenby kaushalshriyan - Nginx Mailing List - English
On Sat, Jan 7, 2023 at 2:56 AM Francis Daly <francis@daoine.org> wrote: > On Thu, Jan 05, 2023 at 10:15:34PM +0530, Kaushal Shriyan wrote: > > Hi there, > > > When I hit http://mydomain.com/apis for conditions when MySQL DB is > down. I > > get the below output and it works as expected. > > > > {"errors": "MySQL DB Server is down"}by kaushalshriyan - Nginx Mailing List - English
Hi, I will appreciate if someone can pitch in for my earlier post to this mailing list. I have the below location block. location /apis { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. fastcgi_intercept_errors off; add_header "X-Debug-JSON-APIS" $upstream_http_content_type"abc" always;by kaushalshriyan - Nginx Mailing List - English
Hi Maxim, I have tested using the attached nginx.conf file for your reference. I tested using both scenarios. When MySQL DB is down it works as expected. {"errors": "MySQL DB Server is down"} MySQL DB is up and running It reports {"errors": "MySQL DB Server is down"} in spite of MySQL DB server being fine. Please suggest. Thanks in advance. Best Regaby kaushalshriyan - Nginx Mailing List - English
Hi Maxim, I have a follow up question regarding the settings below in nginx.conf where the php-fpm upstream server is processing all php files for Drupal CMS. fastcgi_intercept_errors off proxy_intercept_errors off User -> Nginx -> php-fpm -> MySQL DB. For example if the php-fpm upstream server is down then nginx should render 502 bad gateway if MySQL DB service iby kaushalshriyan - Nginx Mailing List - English
On Fri, Dec 16, 2022 at 1:38 AM Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Thu, Dec 15, 2022 at 09:53:11PM +0530, Kaushal Shriyan wrote: > > > > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > > CentOS Linux release 7.9.2009 (Core). When I hit > http://mydomain.com/apis I > > see the below message on the browseby kaushalshriyan - Nginx Mailing List - English
On Thu, Dec 15, 2022 at 9:53 PM Kaushal Shriyan <kaushalshriyan@gmail.com> wrote: > Hi, > > I am running the nginx version: nginx/1.22 as a reverse proxy server on > CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I > see the below message on the browser even if the upstream server php-fpm > server is up and running. > > *{"errors"by kaushalshriyan - Nginx Mailing List - English
Hi, I am running the nginx version: nginx/1.22 as a reverse proxy server on CentOS Linux release 7.9.2009 (Core). When I hit http://mydomain.com/apis I see the below message on the browser even if the upstream server php-fpm server is up and running. *{"errors": {"status_code": 502,"status": "php-fpm server is down"}}* I have set the below in the nginx.coby kaushalshriyan - Nginx Mailing List - English
On Tue, Nov 29, 2022 at 9:58 PM Kaushal Shriyan <kaushalshriyan@gmail.com> wrote: > Hi Francis, > > Thanks a lot for all your help and support. It worked. I have configured > the below settings in nginx after a few attempts by tweaking it. It worked > like a charm. > > location /apis { > # First attempt to serve request as file, then >by kaushalshriyan - Nginx Mailing List - English
Hi Francis, Thanks a lot for all your help and support. It worked. I have configured the below settings in nginx after a few attempts by tweaking it. It worked like a charm. location /apis { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. fastcgi_intercept_errors off; add_header &quby kaushalshriyan - Nginx Mailing List - English
Hi, I am using nginx web server and php-fpm backend service to process all php files. NGINX proxies web requests and passes them on to PHP-FPM worker processes that execute the PHP application. Is there a way to capture both response header and body which are processed by PHP-FPM application? Also does the php-fpm response contain only header and body or anything else in response to nginx web sby kaushalshriyan - Php-fpm Mailing List - English
_______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-leave@nginx.orgby kaushalshriyan - Nginx Mailing List - English
_______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-leave@nginx.orgby kaushalshriyan - Nginx Mailing List - English
Hi, I am using nginx web server and php-fpm backend service to process all php files. NGINX proxies web requests and passes them on to PHP-FPM worker processes that execute the PHP application. Is there a way to capture both response header and body which are processed by PHP-FPM application? Also does the php-fpm response contain only header and body or anything else in response to nginx web serby kaushalshriyan - Nginx Mailing List - English
On Wed, Nov 23, 2022 at 11:20 PM Francis Daly <francis@daoine.org> wrote: > On Tue, Nov 22, 2022 at 07:52:41PM +0530, Kaushal Shriyan wrote: > > Hi there, > > > map $sent_http_content_type $enableerror { > > default on; > > application/json off; > > } > > I believe that from a timing point of view, that variable iby kaushalshriyan - Nginx Mailing List - English
On Tue, Nov 22, 2022 at 7:52 PM Kaushal Shriyan <kaushalshriyan@gmail.com> wrote: > Hi Francis, > > I tried the below to handle JSON responses from the PHP-FPM backend. > > *Line no from 1 to 4(*nginxtest.conf*)* > map $sent_http_content_type $enableerror { > default on; > application/json off; > } > > *Line no from 46 toby kaushalshriyan - Nginx Mailing List - English
Hi Francis, I tried the below to handle JSON responses from the PHP-FPM backend. *Line no from 1 to 4(*nginxtest.conf*)* map $sent_http_content_type $enableerror { default on; application/json off; } *Line no from 46 to 51**(*nginxtest.conf*)* location = /error-500.html { if ($enableerror = "on") { error_page 500 /error-500by kaushalshriyan - Nginx Mailing List - English
On Sat, Nov 19, 2022 at 12:02 AM Francis Daly <francis@daoine.org> wrote: > On Fri, Nov 18, 2022 at 11:10:20PM +0530, Kaushal Shriyan wrote: > > On Fri, Nov 18, 2022 at 9:37 PM Francis Daly <francis@daoine.org> wrote: > > Hi there, > > > Thanks Francis for your email response. Let me explain with two > different > > scenarios :- > > Yes, thank yby kaushalshriyan - Nginx Mailing List - English
On Fri, Nov 18, 2022 at 9:37 PM Francis Daly <francis@daoine.org> wrote: > On Fri, Nov 18, 2022 at 07:07:41PM +0530, Kaushal Shriyan wrote: > > On Thu, Nov 17, 2022 at 10:57 PM Francis Daly <francis@daoine.org> > wrote: > > Hi there, > > > Please let me know if you need any additional information and I look > > forward to hearing from you. Thanks in adby kaushalshriyan - Nginx Mailing List - English
On Thu, Nov 17, 2022 at 10:57 PM Francis Daly <francis@daoine.org> wrote: > On Mon, Nov 14, 2022 at 08:24:15PM +0530, Kaushal Shriyan wrote: > > > On Fri, Nov 11, 2022 at 2:38 PM Francis Daly <francis@daoine.org> > wrote: > > Hi there, > > > >> What one specific request do you want to make? (Maybe > > >> http://mydomain.com/apis, maybe hby kaushalshriyan - Nginx Mailing List - English