Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; load_module modules/ngx_http_modsecurity_module.so; events { worker_connections 768; # multi_accept on; } http { map $http_upgrade $connection_upgrade { default upgrade;

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
Here is Apache config ServerAdmin webmas...@example.com DocumentRoot /var/www/fs/ ServerName fs.example.com ServerAlias fs.example.com ErrorLog /var/log/apache2/fs/error.log CustomLog /var/log/apache2/fs/access.log combined LogFormat "%{X-Forwarded-For}

Re: Nginx access log and error log

2022-03-03 Thread Sergey A. Osokin via nginx
Hi, On Thu, Mar 03, 2022 at 05:21:35PM -0500, aishwarya.deshmukh wrote: > Hi > > Currently the access log and error log are written with the below > permission > > -rw-r-. 1 nginx adm 268 Mar 4 03:43 error.log > > However I want them to write in -rwxr-xr-x but everytime it writes the > ac

Nginx access log and error log

2022-03-03 Thread aishwarya.deshmukh
Hi Currently the access log and error log are written with the below permission -rw-r-. 1 nginx adm 268 Mar 4 03:43 error.log However I want them to write in -rwxr-xr-x but everytime it writes the access or error logs, it writes in a read format. I can manually change their permission but

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread Rainer Duffner
> Am 03.03.2022 um 19:26 schrieb blason : > > Hi Team, > > My portal name is lets say fs.example.com and it is > configured on apache > server which is then proxied to internet using Nginx reverse proxy. However And what does the apache config look like? __

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread Sergey A. Osokin via nginx
Hi there, hope you're doing well these days. On Thu, Mar 03, 2022 at 01:26:51PM -0500, blason wrote: > Hi Team, > > My portal name is lets say fs.example.com and it is configured on apache > server which is then proxied to internet using Nginx reverse proxy. However > I tried everything I was aw

Re: Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
Here are the debug logs - If that would help https://pastebin.com/K3521Cnk Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293780,293781#msg-293781 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.o

Getting weird issue with Nginx reverse Proxy

2022-03-03 Thread blason
Hi Team, My portal name is lets say fs.example.com and it is configured on apache server which is then proxied to internet using Nginx reverse proxy. However I tried everything I was aware of and I am consistently getting below error whenever this URL is accessed. I am running out of ideas about t