Commit 60f2a8a8 authored by Pablo Rauzy's avatar Pablo Rauzy
Browse files

reference httpd config examples in README

parent 433dc4ee
......@@ -21,7 +21,7 @@ On Debian and derivatives, `sudo apt install nginx php-fpm php-sqlite3 php-zip`
This guide assume the use of the `example.com` domain name.
Adapt to use your own.
1. Configure your web server to point `example.com` to a directory (we'll call it `root`)
1. Configure your web server to point `example.com` to a directory (we'll call it `root`). You can see examples of this for nginx, Apache, and lighttpd in the repository.
2. Next to the `root` directory (e.g., in the same parent directory), create a `users` and a `deleted` directory and give your web server write-permission to them.
Make sure neither the `users` nor the `deleted` directories are web-facing (i.e., that they're not publicly accessible).
......@@ -51,7 +51,7 @@ Make sure neither the `users` nor the `deleted` directories are web-facing (i.e.
sqlite> insert into users values ('www', '', '', random());
Another possibility is to register the “www” user normally using the `register.php` form and use it to edit the `example.com` landing page.
You can do that by creating a symlinks from `users/www` to `root`.
You can do that by creating a symlinks from `users/www` to `root`.
## Multi-domain mode
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment