Peertube bad gateway / connection refused

Maybe change ‹ localohost › with some IP Address like 0.0.0.0 ?
because localhost is 127.0.0.1 and nginx seems configured to reach « empty » (or 0.0.0.0) IP…