From e7ab87ebf0d1b4cce87cdb4ce6c6f60c7d329c57 Mon Sep 17 00:00:00 2001 From: pa7ryk Date: Thu, 13 Jun 2019 16:57:48 +0200 Subject: [PATCH] Fixes README and spacing. --- README.md | 4 ++-- nginx/default.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e51cefa..ea054da 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ ShareDrop uses WebRTC only and isn't compatible with Safari browsers. Snapdrop u [Install docker with docker-compose.](https://docs.docker.com/compose/install/) ``` - git clone git@github.com:pa7ryk/snapdrop.git + git clone git@github.com:RobinLinus/snapdrop.git cd snapdrop docker-compose up ``` @@ -60,7 +60,7 @@ When serving the node server behind a proxy the `X-Forwarded-For` header has to By default the server listens on port 3000. -For an nginx configuration example see `nginx.conf.example`. +For an nginx configuration example see `nginx/default.conf`. ## Licences * Thanks to [Mark DiAngelo]() for the [Blop Sound](http://soundbible.com/2067-Blop.html) diff --git a/nginx/default.conf b/nginx/default.conf index 8df5bb3..6fd995c 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -15,7 +15,7 @@ server { proxy_pass http://node:3000; proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; - proxy_set_header X-Forwarded-for $remote_addr; + proxy_set_header X-Forwarded-for $remote_addr; } #error_page 404 /404.html;