87,901
社区成员
发帖
与我相关
我的任务
分享
const fetchList = () => {
$.ajax({
url: 'http://192.168.9.41:8080/geoserver/rest/layers.json',
dataType: 'json',
type: 'GET',
success: function (result) {
console.log(result)
}
,
headers: {
'Authorization': 'Basic YWRtaW46Z2Vvc2VydmVy'
}
})
}
server {
listen 8040;
server_name localhost;
location /geoserver/ {
proxy_pass http://localhost:8080;
proxy_redirect off;
}
location / {
proxy_pass http://localhost:8030;
proxy_redirect off;
}
}