expose icon indicating copy to clipboard operation
expose copied to clipboard

assets show wrong domain + not forwarning using container network names/aliases

Open michabbb opened this issue 3 years ago • 1 comments

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.

michabbb avatar Feb 18 '22 23:02 michabbb

Up, I have similar problem

fahmiegerton avatar Oct 20 '22 12:10 fahmiegerton