# Bad Gateway (502) Traefik (Proxy) \> Nextcloud-AIO \> Portainer Setup

**URL:** <https://help.nextcloud.com/t/bad-gateway-502-traefik-proxy-nextcloud-aio-portainer-setup/166705>\
**Category:** ℹ️ Support\
**Tags:** docker, traefik, nextcloud, aio, docker-compose\
**Created:** [July 23, 2023, 12:07pm UTC](https://help.nextcloud.com/t/bad-gateway-502-traefik-proxy-nextcloud-aio-portainer-setup/166705 "2023-07-23T12:07:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [July 23, 2023, 3:32pm UTC](https://help.nextcloud.com/t/bad-gateway-502-traefik-proxy-nextcloud-aio-portainer-setup/166705/4 "2023-07-23T15:32:22Z")

</div>

> [@Chris81T](#):
>
> `- url: "http://nextcloud:11000"`

Can you use `- url: "http://ip.address.of.the.server.that.runs.docker:11000"` instead of pointing at nextcloud? The commands mentioned are meant for retreiving that ip-address that should be used here.

---

_[View the full topic](https://help.nextcloud.com/t/bad-gateway-502-traefik-proxy-nextcloud-aio-portainer-setup/166705)._
