Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ $ docker run -d -p 8080:80 nextcloud

Now you can access Nextcloud at http://localhost:8080/ from your host system.

If you set up docker behind a proxy (eg with Apache's `ProxyPass`), you need to override `overwritehost` and possibly `overwriteprotocol` [(reference documentation)](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#proxy-configurations).

```console
# docker exec --user www-data CONTAINER_ID php occ config:system:set overwritehost --value nextcloud.yourdomain.net
# docker exec --user www-data CONTAINER_ID php occ config:system:set overwriteprotocol --value https
```

## Using the fpm image
To use the fpm image you need an additional web server that can proxy http-request to the fpm-port of the container. For fpm connection this container exposes port 9000. In most cases you might want use another container or your host as proxy.
Expand Down