基于Nginx反向代理解决公网上服务跨域问题的研究  被引量:4

Research on Solving Cross Domain Problem of Public Network Service Based on Nginx Reverse Proxy

在线阅读下载全文

作  者:崔娟 王伟民 冯继虎 李怀堂 王林柱 CUI Juan;WANG Weimin;FENG Jihu;LI Huaitang;WANG Linzhu(Gansu Computing Center,Lanzhou 730030,China;Kang County Productivity Promotion Center,Longnan 742500,China)

机构地区:[1]甘肃省计算中心,甘肃兰州730030 [2]康县生产力促进中心,甘肃陇南742500

出  处:《现代信息科技》2023年第8期79-82,87,共5页Modern Information Technology

基  金:康县特色产业发展关键环节技术研发及示范应用(21CX10NK001)。

摘  要:对软件开发人员来说,除了日常在本地的开发工作之外,最终的目的是要将项目部署到公网上,供用户使用。但是基于系统安全的考虑,一般不能将内网服务器上所有服务全部暴露在外网上,这个时候选择通过Nginx的反向代理来解决这个问题。通过实现前端后分离部署,修改Nginx配置文件,解决了公网上浏览、下载内网服务器上图片等问题。For software developers,in addition to daily local development work,the ultimate goal is to deploy the project to the public network for users to use.However,based on the consideration of system security,it is generally not possible to expose all services on the intranet server to the outer internet.At this time,this paper chooses the nginx reverse proxy to solve this problem.By implementing front end separate deployment and modifying nginx configuration files,the problems of browsing and downloading pictures on the intranet server by public network are solved.

关 键 词:安全 NGINX docker容器化部署 反向代理 跨域 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象