# Traefik proxy to another website

**URL:** <https://community.traefik.io/t/traefik-proxy-to-another-website/13165>\
**Category:** Traefik v2\
**Tags:** docker-swarm, docker\
**Created:** [January 24, 2022, 10:18am UTC](https://community.traefik.io/t/traefik-proxy-to-another-website/13165 "2022-01-24T10:18:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhammadsiddiqbe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/muhammadsiddiqbe/32/4830_2.png) [@muhammadsiddiqbe](https://community.traefik.io/u/muhammadsiddiqbe)\
**Post date:** [January 24, 2022, 10:18am UTC](https://community.traefik.io/t/traefik-proxy-to-another-website/13165/1 "2022-01-24T10:18:43Z")

</div>

Hello. I need just translation of this nginx config to traefik

```auto
server {
   server_name mywebsite.com

   location /{
     proxy_pass https://example.com;
   }
}

```

I am using docker swarm. I could not find any simple example for this situation
