Thanks for your scripts, it helped me a lot.
But after I built stf and visited the website, I found that my "APP upload" module couldn't work.
Here is my nginx logs:
192.168.1.202 - - [15/Aug/2017:07:01:30 +0000] "POST /s/upload/apk HTTP/1.1" 502 575 "http://192.168.1.154/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
2017/08/15 07:01:30 [error] 7#7: *66 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.202, server: stf.test, request: "POST /s/upload/apk HTTP/1.1", upstream: "http://192.168.1.154:3500/s/upload/apk", host: "192.168.1.154", referrer: "http://192.168.1.154/"
Hope for your reply, thanks.