0
点赞
收藏
分享

微信扫一扫

安全典型配置(五)SNMP中应用ACL过滤非法网管案例

1.nginx的跨域

server{
   
    listen 90;
    server_name loclhost;
	#允许跨域请求的域,*代表所有
	add_header  'Access-Control-Allow-Origin' *;
	#允许带上 cookie请求
	add_header 'Access-Control-Allow-Credentials' 'true';
	#允许请求的方法,比如 GET/POST/PUT/DELETE
	add_header  'Access-Control-Allow-Methods' *;
	#允许请求的 header
	add_header  'Acce
举报

相关推荐

0 条评论