aurweb/docker/scripts/run-nginx.sh
Kevin Morris d4d9f50b8f
change(docker): use ./data instead of ./cache
For the `git` service, ./data is always used to provide an
optional overriding of ssh host keys. In aur-dev production
containers, most services which use the data mount use an
internal Docker `data` volume instead.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-11-20 20:05:32 -08:00

16 lines
427 B
Bash
Executable file

#!/bin/bash
echo "=== Running nginx server! ==="
echo
echo " Services:"
echo " - FastAPI : https://localhost:8444/"
echo " (cgit) : https://localhost:8444/cgit/"
echo " - PHP : https://localhost:8443/"
echo " (cgit) : https://localhost:8443/cgit/"
echo
echo " Note: Copy root CA (./data/ca.root.pem) to ca-certificates or browser."
echo
echo " Thanks for using aurweb!"
echo
exec nginx -c /etc/nginx/nginx.conf