tinyauth-web/examples/README.md

562 B

Examples

nginx

Pick one and adapt the paths, domain, and PHP-FPM socket. Each file is commented.

File Use when
nginx/subdomain.conf You want https://tinyauth-web.example.com/ on its own name.
nginx/subpath.conf You want https://www.example.com/tinyauth-web/ inside an existing site.
nginx/subdomain-lan-only.conf As above, but only reachable from your LAN or VPN.

All of them serve only public/, so config.php and data/ are never reachable over HTTP. After editing, run nginx -t before reloading.