summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-05 01:27:09 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-05 01:27:09 -0400
commit4658fe82be3e9d95e93fa5c7c7ca64a15cf2f1a1 (patch)
tree6988e5768449404d3c60c473bb80b1981bef660f
parent579c0beb541677be2efb49f46f0b2b35c1b9b26e (diff)
downloadgetwtxt-4658fe82be3e9d95e93fa5c7c7ca64a15cf2f1a1.tar.gz
updated nginx configuration section
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index 391d65e..bfd4f70 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,10 @@ twtxt.example.com
 proxy / example.com:9001
 ```
 
-If you're using `nginx`, here's a skeleton config to get you started:
+If you're using `nginx`, here's a skeleton config to get you started. Don't forget to change 
+the 5 instances of `twtxt.example.com` to the (sub)domain you'll be using to access the registry, 
+generate SSL/TLS certificates using `letsencrypt`, and change the port in `proxy_pass` to whichever 
+port you specified when modifying the configuration file. Currently, it's set to the default port `9001`
 
 ```nginx
 server {
@@ -100,7 +103,7 @@ server {
     location / {
         proxy_set_header Host $host;
         proxy_set_header X-Forwarded-For $remote_addr;
-        proxy_pass http://127.0.0.1:9010;
+        proxy_pass http://127.0.0.1:9001;
     }
 }
 server {