diff options
Diffstat (limited to 'fullnarp.py')
-rw-r--r-- | fullnarp.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/fullnarp.py b/fullnarp.py index b57c185..0500d1b 100644 --- a/fullnarp.py +++ b/fullnarp.py | |||
@@ -11,11 +11,16 @@ from sqlalchemy.orm import sessionmaker, declarative_base | |||
11 | 11 | ||
12 | 12 | ||
13 | """ | 13 | """ |
14 | This is best served by an nginx block that should look a bit like this: | 14 | 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 | 16 | ||
16 | location /fullnarp/ { | 17 | location /fullnarp/ { |
17 | root /home/halfnarp; | 18 | alias /home/halfnarp/halfnarp2/static/; |
18 | index index.html index.htm; | 19 | index fullnarp.html; |
20 | } | ||
21 | |||
22 | location /fullnarp/versions { | ||
23 | alias /home/halfnarp/halfnarp2/versions/; | ||
19 | } | 24 | } |
20 | 25 | ||
21 | location /fullnarp/ws/ { | 26 | location /fullnarp/ws/ { |