我有一个ios应用程序,该应用程序调用{{1}},其中我使用以下网址sfsafariviewcontroller
在ip上打
它在具有config的nginx服务器上运行
https://192.168.216.141:443/..
但是,当我调用该应用程序时,它不会命中我的服务器。在非SSL环境中执行相同的操作时,它将正常工作并击中服务器。
我们可以通过应用程序访问本地server {
listen 443 ssl;
ssl_certificate localhost.crt;
ssl_certificate_key localhost.key;
server_name localhost;
underscores_in_headers on;
#charset koi8-r;
#access_log logs/host.access.log main;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload;";
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff" always;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
location ~ __handshake__ {
# proxy_pass http://wsbackend;
proxy_pass http://websocket;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 300s;
}
location / {
root /Users/../../;
autoindex on;
}
location /payments {
alias /Users/../..;
autoindex on;
}
}
服务器吗?
更新
我收到此错误
https