ip+1 https://haoduck.com/903.html
- docker run -d -p 443:443 --name google_translate_nginx haoduck/google_translate_nginx
然后将
你的ip translate.googleapis.com 写进hosts
就好了
需要占用443端口,如果小鸡上已经用着nginx了,那就用自签SSL证书那个方法吧
代码在https://github.com/haoduck/google_translate_nginx