mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
aurweb.spawn: Integrate FastAPI and nginx
aurweb.spawn used to launch only PHP’s built-in server. Now it spawns a dummy FastAPI application too. Since both stacks spawn their own HTTP server, aurweb.spawn also spawns nginx as a reverse proxy to mount them under the same base URL, defined by aur_location in the configuration. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
d4abe0b72d
commit
5be07a8a9e
5 changed files with 86 additions and 14 deletions
3
TESTING
3
TESTING
|
@ -12,7 +12,8 @@ INSTALL.
|
|||
2) Install the necessary packages:
|
||||
|
||||
# pacman -S --needed php php-sqlite sqlite words fortune-mod \
|
||||
python python-sqlalchemy python-alembic
|
||||
python python-sqlalchemy python-alembic \
|
||||
python-fastapi uvicorn nginx
|
||||
|
||||
Ensure to enable the pdo_sqlite extension in php.ini.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue