Welcome! Log In Create A New Profile

Advanced

Re: Websocket is not working with Nginx Reverse Proxy

Sergey A. Osokin
September 22, 2021 01:28PM
On Mon, Sep 20, 2021 at 11:17:55PM -0400, blason wrote:
> Bummer!! I am not that pro - but would really appreciate if you can give me
> certain reference links or configuration? Please

Here's the new log format:

log_format bummer '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" '
'"$http_upgrade" "$connection_upgrade"';

It's possible to use it for a specific server or location:

access_log /path/to/access.log.with.bummer.format.log bummer;


In case of debugging log please follow the instruction on the next page,
http://nginx.org/en/docs/debugging_log.html

Hope that helps.

--
Sergey Osokin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Websocket is not working with Nginx Reverse Proxy

blason September 19, 2021 01:35PM

Re: Websocket is not working with Nginx Reverse Proxy

blason September 19, 2021 01:36PM

Re: Websocket is not working with Nginx Reverse Proxy

Sergey A. Osokin September 19, 2021 07:14PM

Re: Websocket is not working with Nginx Reverse Proxy

blason September 19, 2021 10:30PM

Re: Websocket is not working with Nginx Reverse Proxy

Sergey A. Osokin September 20, 2021 07:06PM

Re: Websocket is not working with Nginx Reverse Proxy

blason September 20, 2021 11:17PM

Re: Websocket is not working with Nginx Reverse Proxy

Sergey A. Osokin September 22, 2021 01:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 47
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready