Closed aronmgv closed 7 months ago
SOLVED. I had to match host with api and bind it with get5api + have a middleware to strip api path from url:
http:
routers:
cs.example.com:
entryPoints:
- websecure
rule: Host(`cs.example.com`)
service: cs.example.com
middlewares:
- ratelimit@file
- security-headers-private@file
api.cs.example.com:
entryPoints:
- websecure
rule: Host(`cs.example.com`) && PathPrefix(`/api`)
service: api.cs.example.com
middlewares:
- ratelimit@file
- security-headers-private@file
- api.cs.example.com-stripprefix
services:
cs.example.com:
loadBalancer:
passHostHeader: true
servers:
- url: 'http://192.168.255.12:5555'
api.cs.example.com:
loadBalancer:
passHostHeader: true
servers:
- url: 'http://192.168.255.12:5556'
middlewares:
api.cs.example.com-stripprefix:
stripPrefix:
prefixes:
- '/api'
Hello,
I want to achieve setup of Get5API and Get5Vue via docker-compose and have it behind traefik reverse proxy. I am getting a webui but I cant log in to STEAM via provided button, it just redirects to the same page and does nothing. I have noticed that caddy configuration had this
caddy.handle_path: /api/*
, could it be the issue that I am not able to log in via STEAM?I am also curious how
g5v
knows where to contactg5api
? I dont see any configuration on that part indocker-compose
file.My api key:
docker-compose (edited from here https://shobhit-pathak.github.io/MatchZy/get5/):
traefik:
Logs: https://pbin.aronmgv.com/blstT-Ei7Yx-9et39Bv6q
If somebody is willing to help me here I would appreciate it. Thanks!