mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Revert "fix(docker): rewrite trailing slashes with AURWEB_FASTAPI_PREFIX"
This reverts commit 29b86dd15a
.
This commit is contained in:
parent
b0726fd673
commit
2db4809f8d
3 changed files with 1 additions and 4 deletions
|
@ -69,8 +69,6 @@ services:
|
|||
- data:/data
|
||||
|
||||
nginx:
|
||||
environment:
|
||||
- AURWEB_FASTAPI_PREFIX=${AURWEB_FASTAPI_PREFIX}
|
||||
restart: always
|
||||
volumes:
|
||||
- data:/data
|
||||
|
|
|
@ -244,7 +244,7 @@ services:
|
|||
image: aurweb:latest
|
||||
init: true
|
||||
environment:
|
||||
- AURWEB_FASTAPI_PREFIX=${AURWEB_FASTAPI_PREFIX}
|
||||
- AUR_CONFIG=conf/config
|
||||
entrypoint: /docker/nginx-entrypoint.sh
|
||||
command: /docker/scripts/run-nginx.sh
|
||||
ports:
|
||||
|
|
|
@ -20,6 +20,5 @@ else
|
|||
fi
|
||||
|
||||
cp -vf /docker/config/nginx.conf /etc/nginx/nginx.conf
|
||||
sed -i "s|AURWEB_FASTAPI_PREFIX|${AURWEB_FASTAPI_PREFIX}|g" /etc/nginx/nginx.conf
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue