我无法访问http://example.com:8000和https://example.com:8000,但我似乎无法让他们同时工作。这将作为我们的后端,并将API请求全部通过。我想要
或
这是我到目前为止的配置
concat | (sku, ',')
--------------------------------
Wine | [{_id: "#46:0", name: "Merlot" },{_id: "#50:0", name: "Pinot" },{_id: "#49:0", name: "Shiraz" }]
Beer | [{_id: "#48:0", name: "Budweiser light" },{_id: "#47:0", name: "Stella Artroix" },{_id: "#46:1", name: "Heineken" }]
答案 0 :(得分:0)
您需要使用不同的端口:
server {
listen 8000;
listen 8443 ssl;
# other directives
}