expose
expose copied to clipboard
assets show wrong domain + not forwarning using container network names/aliases
hi, i tested the same site with expose and ngrok, both with docker, both forwarding to another container: nginx:80
the laravel website uses:
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
with expose, the browser gets:
<link rel="stylesheet" href="https://172.25.0.2/css/app.css"> <----- WRONG
ngrok:
<link rel="stylesheet" href="http://xxxxxxxxxxx.ngrok.io/css/app.css"> <----- CORRECT
so, i don´t know if this a expose issue or me doing something wrong.
expose cmd:
docker run --init --network=web --rm -it -v ~/.expose/expose.db:/root/.expose beyondcodegmbh/expose-server:latest share http://172.25.0.2
and I guess here´s the problem, because share nginx should work, but doesn´t.
with ngrok it does work.
any advice??
thanks.
Up, I have similar problem