Nextcloud and Caddy in docker?

Nextcloud version Docker pull nextcloud
Operating system and version Debian GNU/Linux 9 (stretch)
Web server Caddy in docker
Docker version 18.06.0-ce

The issue you are facing:

I am trying to use nextcloud in docker,with a Caddy in docker as the web server.

I am now running nextcloud in docker.

The Caddyfile is:

proxy /nextcloud {
without nextcloud

It works,BUT the web shows only text,with no styles and pictures.

How can I fix it?

Did you fix it ??
I am facing same issue.