li (@nvrdfjnldrsf)deeplx服务器部署使用nginx端口转发错误 中发帖

服务器通过Cloudflare提供DNS服务,Nginx提供代理服务 
Cloudflare DNS服务配置api.domain到IP,Nginx .conf如下:
server { listen 80; server_name api.domain; location /deeplx/ { proxy_pass http://localhost:1188/; } }
测试http://ip:1188/translate 调用正常,测试https://api.domain/deeplx与https://api.domain/deeplx/ 访问返回{“code”:200,“message”:“DeepL Free API, Developed by sjlleo and missuo. Go to /translate with POST. G...