We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server { listen 443 ssl; server_name XXXXXXX; ssl_certificate XXXX/server.crt; ssl_certificate_key XXXXX/ca.key; #此处是重点 location ~* \.(plist)$ { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto http; proxy_set_header X-Forwarded-Port 3000; proxy_pass http://127.0.0.1:3000; #此处改为 docker 服务的地址 } location / { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Port $server_port; proxy_pass http://127.0.0.1:3000; #此处改为 docker 服务的地址 } }
这样 plist 里的请求地址都走的是http, ios里无需自签名 信任也能安装ipa了
The text was updated successfully, but these errors were encountered:
首先nignx的ssl还是需要配置的 在nginx里配置 server { listen 443 ssl; server_name XXXXXXX; ssl_certificate XXXX/server.crt; ssl_certificate_key XXXXX/ca.key; #此处是重点 location ~* \.(plist)$ { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto http; proxy_set_header X-Forwarded-Port 3000; proxy_pass http://127.0.0.1:3000; #此处改为 docker 服务的地址 } location / { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Port $server_port; proxy_pass http://127.0.0.1:3000; #此处改为 docker 服务的地址 } } 这样 plist 里的请求地址都走的是http, ios里无需自签名 信任也能安装ipa了
你好,请问可以再说的具体一点么,我按照你的nginx配置,iOS还是安装不了
Sorry, something went wrong.
No branches or pull requests
这样 plist 里的请求地址都走的是http, ios里无需自签名 信任也能安装ipa了
The text was updated successfully, but these errors were encountered: