Skip to content

jkyochen/retrospect-nginx-cause-websocket-handshake-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retrospect that nginx configuration issues cause websocket handshake errors

Start

# 1. Start Node Server
node app.js

# 2. Start Nginx
nginx -p $PWD/etc/nginx/ -c nginx.conf

# 3. Add host use vim
127.0.0.1 love.cat

# 4. Openn love.cat to view

ERROR

failed (48: Address already in use) STOP Default Start Nginx

nginx -s stop

Other Operate

# Stop Nginx
nginx -p $PWD/etc/nginx/ -c nginx.conf -s stop

# Reload Nginx
nginx -p $PWD/etc/nginx/ -c nginx.conf -s reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published