Open michabbb opened 2 years ago
hi, i tested the same site with expose and ngrok, both with docker, both forwarding to another container: nginx:80 the laravel website uses:
nginx:80
<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
<link rel="stylesheet" href="https://172.25.0.2/css/app.css">
ngrok:
<link rel="stylesheet" href="http://xxxxxxxxxxx.ngrok.io/css/app.css"> <----- CORRECT
<link rel="stylesheet" href="http://xxxxxxxxxxx.ngrok.io/css/app.css">
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.
share nginx
any advice??
thanks.
Up, I have similar problem
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">
<----- WRONGngrok:
<link rel="stylesheet" href="http://xxxxxxxxxxx.ngrok.io/css/app.css">
<----- CORRECTso, i don´t know if this a expose issue or me doing something wrong.
expose cmd:
and I guess here´s the problem, because
share nginx
should work, but doesn´t. with ngrok it does work.any advice??
thanks.