1

以下のサンプルURL形式があります

http://test.example.com:3000/samp/value?AP=API&SE=AU

値は動的です

以下は私のngnix構成ファイルです

#pid        logs/nginx.pid;
events {
worker_connections  1024;
}
http {
# HTTPS server                                                                            

upstream node_entry {
server test.example.com:3000
}                                                                               
server {
listen       443;   
ssl                  on;
ssl_certificate      /etc/ssl/certs/myssl.crt;
ssl_certificate_key  /etc/ssl/private/myssl.key;
server_name  domainname;
location / {
    #root   html;
    #index  index.html index.htm;
    return 503;
}
location /samp {
    proxy_pass   node_entry;
}
}

}

http://test.example.com/samp/value?AP=API&SE=AUを押すと、「取得できません」というエラーが表示されます

/samp/value?AP=API&SE=AU. ここで間違っていること。

これに関するヘルプは本当に役に立ちます

ありがとう、

4

1 に答える 1