From d038549d9e01ce37f6decbbf51aa396fc7c57a96 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 6 Jan 2025 03:56:05 +0100 Subject: document ngxin version path --- fullnarp.py | 11 ++++++++--- 1 file 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 """ -This is best served by an nginx block that should look a bit like this: +This is best served by an nginx block that should look a bit like this, with +a halfnarp2 checked out in the home of user halfnarp: location /fullnarp/ { - root /home/halfnarp; - index index.html index.htm; + alias /home/halfnarp/halfnarp2/static/; + index fullnarp.html; + } + + location /fullnarp/versions { + alias /home/halfnarp/halfnarp2/versions/; } location /fullnarp/ws/ { -- cgit v1.2.3