NGINX Plus仪表板
我已尝试启用N+仪表板,但到目前为止,我只得到: 根据我添加的步骤NGINX Plus仪表板,nginx,nginx-plus,Nginx,Nginx Plus,我已尝试启用N+仪表板,但到目前为止,我只得到: 根据我添加的步骤 status_zone status_page; 到api_gateway.conf的服务器部分,然后将api的特定位置更新为 location /myAPI/test { set $upstream myapi; rewrite ^ /_myapi last; status_zone location_zone; } nginx.conf添加了 proxy_cache_path /var/cach
status_zone status_page;
到api_gateway.conf
的服务器部分,然后将api的特定位置更新为
location /myAPI/test {
set $upstream myapi;
rewrite ^ /_myapi last;
status_zone location_zone;
}
nginx.conf
添加了
proxy_cache_path /var/cache/nginx keys_zone=one:10m;
dashboard.conf
看起来像:
服务器{
有什么想法吗
location /api {
api write=on;
# access control
allow 10.10.10.0/24;
deny all;
}
location = /dashboard.html {
root /usr/share/nginx/html;
}
location /swagger-ui {
root /usr/share/nginx/html;
}
}