Commit 0df81374 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

update for proxyta.net

parent aa216ec2
......@@ -2,8 +2,7 @@
## Reverse Proxy
Look at my Traefik easy setup for [dev](https://github.com/nim65s/traefik-dev) and
[prod](https://github.com/nim65s/traefik-prod)
This website needs a reverse proxy, like [proxyta.net](https://framagit.org/nim65s/proxyta.net)
## Configuration example
......
......@@ -31,23 +31,23 @@ services:
- DB=postgres
- MEMCACHED=True
networks:
- traefik
- proxytanet
- default
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host: rainboard.${DOMAIN_NAME:-local}"
- "traefik.docker.network=traefik"
- "traefik.docker.network=proxytanet"
nginx:
image: nim65s/ndh:nginx
restart: unless-stopped
volumes:
- "srv:/srv"
networks:
- traefik
- proxytanet
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host: rainboard.${DOMAIN_NAME:-local}; PathPrefix: /static, /media"
networks:
traefik:
proxytanet:
external: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment