Document new custom nginx image
This commit is contained in:
parent
5ea5533ae8
commit
27d78a4822
@ -61,6 +61,12 @@ Simply run this command from the root of the cloned repo:
|
||||
|
||||
this will take a while.
|
||||
|
||||
### Building nginx
|
||||
This will embed an optimized configuration for serving Nextcloud files and PHP-FPM resources. Run this
|
||||
command from the root of the cloned repo:
|
||||
|
||||
`docker compose build nginx`
|
||||
|
||||
### Installing Nextcloud
|
||||
|
||||
Run `docker compose up -d`. If something doesn't work try debugging it yourself of open an issue with the php-fpm and nginx logs attached.
|
||||
@ -82,9 +88,6 @@ Edit `/your/nextcloud/root/nextcloud/config/config.php` and add the following op
|
||||
),
|
||||
```
|
||||
|
||||
### Editing nginx.conf
|
||||
You may also have to replace `example.com` with your own domain or multiple domains in the nginx.conf file.
|
||||
|
||||
### Enabling system cron (optional)
|
||||
Nextcloud must perform background tasks. The best way to do that is to use cron. However, on docker this is not easily doable. Here the host will perform the cronjobs required.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user