Skip to content

Commit

Permalink
added nginx socketio fix to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shukriadams committed Jul 5, 2020
1 parent 084b58b commit de94697
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,19 @@ If you lose your password you can set a new one from the command line with

When you log in, you'll be prompted to give access to either Dropbox or Nextcloud, follow the on-screen instructions.

## Advanced

### Nginx and Socket.io

This app makes entensive use of websockets, if you're hosting your app behind Nginx, you might have problems with this. Try adding the following to your Nginx config

location / {
proxy_pass http://localhost:YOUR-PORT-HERE; # add your own app port hehre
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}

## License

Expand Down

0 comments on commit de94697

Please sign in to comment.