diff options
author | erdgeist <erdgeist@erdgeist.org> | 2025-01-06 04:24:18 +0100 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2025-01-06 04:24:18 +0100 |
commit | 4aeebeb337d6090d0fcbeb4ed4bc6d043f7d3f0e (patch) | |
tree | 4b43f2e11607dc807df8db6125773420c1ca24de | |
parent | aed5df50520565fe5f3ce9e9f62977c655f9b58b (diff) |
Suggest protecting fullnarp behind basic auth
-rw-r--r-- | fullnarp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fullnarp.py b/fullnarp.py index 2007749..4feff59 100644 --- a/fullnarp.py +++ b/fullnarp.py | |||
@@ -15,6 +15,9 @@ This is best served by an nginx block that should look a bit like this, with | |||
15 | a halfnarp2 checked out in the home of user halfnarp: | 15 | a halfnarp2 checked out in the home of user halfnarp: |
16 | 16 | ||
17 | location /fullnarp/ { | 17 | location /fullnarp/ { |
18 | auth_basic "Content Teams Only"; | ||
19 | auth_basic_user_file fullnarp.pw; | ||
20 | |||
18 | alias /home/halfnarp/halfnarp2/static/; | 21 | alias /home/halfnarp/halfnarp2/static/; |
19 | index fullnarp.html; | 22 | index fullnarp.html; |
20 | } | 23 | } |