CN112883312B - Cross-platform Nginx visual configuration supporting system and method - Google Patents

Cross-platform Nginx visual configuration supporting system and method Download PDF

Info

Publication number
CN112883312B
CN112883312B CN202110161869.4A CN202110161869A CN112883312B CN 112883312 B CN112883312 B CN 112883312B CN 202110161869 A CN202110161869 A CN 202110161869A CN 112883312 B CN112883312 B CN 112883312B
Authority
CN
China
Prior art keywords
nginx
module
virtual host
configuration
visual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110161869.4A
Other languages
Chinese (zh)
Other versions
CN112883312A (en
Inventor
温正德
郑振乐
麻元兴
陈集房
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Keyi Intelligent Medical Technology Co ltd
Original Assignee
Zhejiang Keyi Intelligent Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Keyi Intelligent Medical Technology Co ltd filed Critical Zhejiang Keyi Intelligent Medical Technology Co ltd
Priority to CN202110161869.4A priority Critical patent/CN112883312B/en
Publication of CN112883312A publication Critical patent/CN112883312A/en
Application granted granted Critical
Publication of CN112883312B publication Critical patent/CN112883312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of computers and discloses a system and a method for supporting cross-platform Nginx visual configuration, wherein the system comprises the steps of uploading an installation script and an installation resource of the Nginx visual configuration system to a server, and completing the installation of the Nginx visual configuration system; a user logs in an Nginx visual configuration system by using a user name and a password, and enters a visual interface of the Nginx visual configuration system; the Nginx visual configuration is carried out through a visual interface of the Nginx visual configuration system, and comprises the steps of modifying the Nginx configuration, controlling the Nginx service and viewing an Nginx log. The invention has the advantages of convenient installation, reduced cost of Nginx maintenance technology, batch large-scale deployment and improved implementation efficiency of the server.

Description

Cross-platform Nginx visual configuration supporting system and method
Technical Field
The invention relates to the technical field of computers, in particular to a system and a method for supporting cross-platform Nginx visualization configuration.
Background
Nginx is a lightweight Web server/reverse proxy server and email (IMAP/POP 3) proxy server that issues under the BSD-like protocol. Now if an Nginx server needs to be installed and maintained, the following steps are needed: downloading a release version of the network Nginx, decompressing a compressed package of the release version, compiling a file of the release version, generating a compiling configuration, installing a program, modifying a configuration file of the Nginx. Conf, creating a soft link of a startup shortcut, configuring startup automatic startup, manually adding/etc/init. D/ginx files, and starting services, wherein the Nginx server in the prior art is complex in installation, has the same complex situation in configuration, and performs the following configuration once: finding a nginx.conf file path, modifying the nginx.conf file, checking whether the modified file accords with grammar specifications, testing whether configuration is correct, restarting the Nginx service, thus modifying the file with low efficiency, easily making mistakes, and having no help for some technicians who do not understand the Nginx configuration grammar, in case of error in modification, inconvenient rollback and rollback operation, and easily causing fatal influence on the production environment.
The existing installation configuration of the nginix has the following disadvantages: the installation is inconvenient, and the steps are too many; the large-scale deployment is inconvenient; the visual configuration cannot be carried out, and the configuration file needs to be modified under a command line tool; a certain threshold exists for modifying the configuration file, so that a general technician cannot get up; the service restarting is troublesome, the operation of logging in the server is needed, and the problem of server authorization safety exists; the operation log cannot be conveniently checked, for example, an operation of adding an HTTPS certificate needs the following operations: uploading an HTTPS certificate to a server, logging in the server, obtaining a path where the HTTPS certificate is located, modifying an Nginx configuration file, adding an HTTPS related certificate path, checking whether configuration is correct, and testing whether the HTTPS certificate is effective.
Disclosure of Invention
The invention provides a system and a method for supporting cross-platform Nginx visual configuration, thereby solving the problems in the prior art.
In a first aspect, the present invention provides a method for supporting cross-platform nmginx visualization configuration, including the following steps:
s1) uploading an installation script and an installation resource of the Nginx visual configuration system to a server for installing the Nginx visual configuration system;
s2) logging in the Nginx visual configuration system by using a user name and a password after the installation of the Nginx visual configuration system is completed, and entering a visual interface of the Nginx visual configuration system;
s3) performing Nginx visual configuration through a visual interface of the Nginx visual configuration system, wherein the Nginx visual configuration comprises the steps of modifying the Nginx configuration, controlling the Nginx service and viewing an Nginx log.
When the Nginx visual configuration system is installed, not only is the visual module installed, but also the Nginx visual configuration system can be automatically installed.
Further, in step S3), modifying the nginnx configuration includes adding an HTTP virtual host, adding an HTTPs virtual host, upgrading the HTTP virtual host to an HTTPs virtual host, adding a static virtual host, adding a load balancing group, adding a TCP reverse proxy, displaying, and modifying the entry parameters of the virtual host.
Further, adding the HTTP virtual host includes adding host information of the reverse proxy; adding the HTTPS virtual host comprises adding host information of a reverse proxy, and uploading a key certificate and a hem certificate of the HTTPS; the host information of the reverse proxy comprises HTTP virtual host port number, HTTP virtual machine main name, HTTP virtual host subdirectory information, virtual host remark, subdirectory remark, reverse proxy address and load group information; adding a static virtual host comprises adding a static virtual host port number, a static virtual machine main name, a static virtual host remark, static virtual host subdirectory information, a static virtual host subdirectory remark, a static page address and a mapping method, wherein the mapping method comprises root mapping or alias mapping; adding a load balancing group comprises adding a load balancing name, an upstream server IP and a port, an upstream server weight and failure attempt times; adding a TCP reverse proxy includes adding a local port, the IP address of the reverse proxy, a TCP port.
Further, in step S3), controlling the nginn service includes stopping the nginn service through a control button of a visual interface of the nginn visual configuration system when the nginn service needs to be stopped; when the Nginx service needs to be started, starting the Nginx service through a control button of a visual interface of the Nginx visual configuration system; the controlling the nmginx service further includes testing the configuration file before restarting the nmginx service.
Further, in step S3), viewing the nginnx log includes viewing a real-time access log and viewing a real-time error log.
In a second aspect, the present invention provides a system for supporting cross-platform nmginx visualization configuration, including an nmginx visualization configuration system, where the nmginx visualization configuration system includes a front end UI, a presentation layer, a service layer, a data access layer, and a database layer; the front-end UI is used for writing a visual interface of the Nginx visual configuration system and providing a basic page for a lower layer; the display layer is used for carrying out related operation by a user, generating a request required by the user in a basic page provided by the upper layer, and sending the request to the service layer; the front end UI is connected with the business layer through the display layer; the service layer is connected with the database layer in a bidirectional way through the data access layer; the business layer depends on the data access layer to read the data in the database layer or store the processing result into the database; the business layer is used for configuring upgrading https, adding a virtual host, adding static resources, modifying configuration files online, adding a TCP proxy, controlling service start and stop, checking access logs, checking error logs, testing configuration files, logging and controlling authority; the front end UI comprises an Html module, a CSS module, a jQuery module, a picture module and a token module; the display layer comprises a template engine rendering module and a Restful interaction module; the output ends of the Html module, the CSS module and the jQuery module are connected with the input end of the template engine rendering module, and the output end of the picture module and the output end of the token module are connected with the input end of the Restful interaction module; the template engine rendering module and the Restful interaction module are respectively connected with the business layer.
Further, the Restful interaction module comprises a POST request module and a GET request module.
Further, the database management layer comprises an SQLite database system and a MySQL database system.
Furthermore, the Nginx visual management system adopts a Windows server, a Linux server or a Unix server when running.
The beneficial effects of the invention are as follows: the invention is based on a visual interface, and can realize cross-platform installation of Nginx, configuration upgrading HTTPS, virtual host addition, static resource addition, online configuration file modification, TCP proxy addition, control service start and stop, access log check, error log check, configuration file test and the like. The invention has convenient installation, can complete the deployment of the visual interface and the Nginx through one script file, can realize large-scale batch deployment, can carry out the visual configuration of the Nginx, does not need to modify the configuration file on a command line tool, and can complete the configuration on the visual interface; the method can visually restart the Nginx service by one key without logging in a server operation; the access and operation logs can be visually checked by one key, and the check by a login server is not needed; the method can visually upload the certificate, only the HTTPS related information is required to be filled, and after the completion, the service is automatically restarted and whether the certificate is effective or not is tested, so that the method is simple and efficient; the HTTP can be visually encrypted to HTTPS, and the HTTP is updated to an HTTPS website after the certificate is uploaded by one key, so that the method is convenient and efficient; the HTTPS certificate can be visually updated, and the expired HTTPS certificate can be replaced by one key. The invention reduces the cost of Nginx maintenance technology, can be deployed in batch on a large scale and improves the implementation efficiency of the server.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an Nginx visualization configuration system supporting cross-platform according to the first embodiment.
Fig. 2 is a flowchart of a method for supporting cross-platform nminbx visual configuration according to the first embodiment.
Fig. 3 is a flowchart of an nmginx visualization configuration according to the first embodiment.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the detailed description is presented by way of example only and is not intended to limit the invention. It should be noted that the terms "comprising" and "having," and any variations thereof, in the description and claims of the present invention and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides a cross-platform Nginx visual configuration system, which comprises a Nginx visual configuration system, as shown in figure 1, wherein the Nginx visual configuration system comprises a front-end UI, a display layer, a service layer, a data access layer and a database layer; the front-end UI is used for writing a visual interface of the Nginx visual configuration system, providing a basic page for a lower layer, and writing a main frame of the system interface by mainly using an Html module, a CSS module and a jQuery module; the display layer is used for carrying out related operation by a user, generating a request required by the user in a basic page provided by the upper layer, and sending the request to the service layer; the front end UI is connected with the business layer through the display layer; the service layer is connected with the database layer in a bidirectional way through the data access layer; the business layer depends on the data access layer to read the data in the database layer or store the processing result into the database; the business layer is used for configuring upgrading https, adding a virtual host, adding static resources, modifying configuration files online, adding a TCP proxy, controlling service start and stop, checking access logs, checking error logs, testing configuration files, logging and controlling authority; the front end UI is provided with an Html module, a CSS module, a jQuery module, a picture module and a token module; the display layer comprises a template engine rendering module and a Restful interaction module; the output ends of the Html module, the CSS module and the jQuery module are connected with the input end of the template engine rendering module, and the output end of the picture module and the output end of the token module are connected with the input end of the Restful interaction module; the template engine rendering module and the Restful interaction module are respectively connected with the business layer.
The system comprises an Html module, a CSS module, a jQuery module, a picture module and a token module, which are component modules of a webpage UI interface; the HTML module is used for marking the content on the content organization; the CSS module is used for modifying the content style and carrying out beautifying display on the content style; the jQuery module is used for expanding the document interaction capability, so that static HTML has certain interaction behaviors (such as form submission, animation special effects, popup windows and the like), the picture module is a picture displayed on a webpage, and the token module is used for verifying the correctness of user information.
The Restful interaction module comprises a POST request module and a GET request module.
The database management layer comprises an SQLite database system and a MySQL database system.
The Nginx visual management system adopts a Windows server, a Linux server or a Unix server when running.
The Nginx visual configuration system running environment simultaneously supports Windows systems, linux systems and Unix systems, uses sqlite as a simple database, uses libraries such as gcc, pcre, pcre-devel, zlib, zlib-devel, openssl, openssl-level as a dependency layer, supports configuration upgrade HTTPS, adds virtual hosts, adds static resources, modifies configuration files online, adds TCP agents, controls service start and stop, views access logs, views error logs, configuration file tests and the like on a business layer, uses template rendering and Restful interaction as a presentation layer, and uses front-end UI (user interface) mainly based on HTML, CSS, JQUERY, pictures and access token as display.
In another aspect, the present invention provides a method for supporting cross-platform nmginx visualization configuration, as shown in fig. 2, including the following steps:
s1) uploading an installation script and an installation resource of the Nginx visual configuration system to a server, and completing the installation of the Nginx visual configuration system;
s2) logging in the Nginx visual configuration system by using a user name and a password, and entering a visual interface of the Nginx visual configuration system;
s3) carrying out Nginx visual configuration through a visual interface of the Nginx visual configuration system, wherein the Nginx visual configuration comprises the steps of modifying the Nginx configuration, controlling the Nginx service and viewing an Nginx log (see figure 3). Viewing the nmginx log includes viewing a real-time access log and viewing a real-time error log. When the Nginx configuration is modified, the information added through the visual interface is modified into an Nginx.conf file, and the Nginx-s read hot loading is automatically carried out after the configuration is completed. When the Nginx service is controlled, the state of the control button is transmitted into an operating system through the control button of the visual interface, so that the operations of the Nginx-s stop, the Nginx-s start, the Nginx-t and the like (if the operation is a Windows operating system, the operation is processed in a manner of controlling the Windows service) are executed. When the Nginx log is checked, log paths of the access and the error are obtained by reading the nginx.conf configuration, retrieval buttons of the two paths are displayed on a visual interface, and after clicking, display contents of the corresponding paths are returned and formatted for display.
When the Nginx visual configuration system is installed, not only is the visual module installed, but also the Nginx visual configuration system can be automatically installed.
In step S3), modifying the Nginx configuration includes adding an HTTP virtual host, adding an HTTPs virtual host, upgrading the HTTP virtual host to an HTTPs virtual host, adding a static virtual host, adding a load balancing group, adding a TCP reverse proxy, displaying, and modifying the input parameters of the virtual host.
Adding an HTTP virtual host includes adding host information of a reverse proxy; the host information of the reverse proxy includes HTTP virtual host port number, HTTP virtual machine main name, HTTP virtual host subdirectory information, virtual host remarks, subdirectory remarks, reverse proxy address, load group information. By adding the Nginx configuration of the HTTP virtual host, remote service can be proxied to the local server, so that the function of accessing remote service is achieved when the local proxy port is accessed, and the service interconnection and interworking problem under the complex network is solved.
The invention also supports adding the HTTPS virtual host, and the content of the HTTPS virtual host is added with the host information of the reverse proxy and also needs to upload the key certificate and the hem certificate of the HTTPS. By adding the Nginx configuration of the HTTPS virtual host, the website can be normally accessed only by using the HTTPS encryption protocol, so that the problems that the website is injected by an operator advertisement, or information is stolen and tampered are prevented.
The invention also supports the upgrading of the HTTP virtual host to the HTTPS virtual host, and the key certificate and the hem certificate of the HTTPS need to be uploaded during upgrading. By the configuration, the website which is originally in the HTTP protocol can be upgraded to the website of HTTPS, so that the problems that the website is injected by an operator advertisement, or information is stolen and tampered and the like are prevented.
The adding of the static virtual host comprises adding a static virtual host port number, a static virtual machine main name, a static virtual host remark, static virtual host subdirectory information, a static virtual host subdirectory remark, a static page address and a mapping method, wherein the mapping method comprises root mapping or alias mapping. By adding the Nginx configuration of a static virtual host, static resources can be added to the web site so that they can be accessed by other clients through HTTP or HTTPS protocols.
Adding a load balancing group includes adding a load balancing name, an upstream server IP and port, an upstream server weight, and a number of failed attempts. By adding the Nginx configuration of the load balancing group, a structure of one load balancing group in the form of a plurality of servers can be achieved, so that the servers cannot be accessed by the client due to single-point faults.
Adding a TCP reverse proxy includes adding a local port, the IP address of the reverse proxy, a TCP port. By adding the Nginx configuration of the TCP reverse proxy, the application based on the TCP protocol can be accessed by other applications after the reverse proxy is firstly carried out on the application to the local machine, so that the application under the complex network can be interconnected and intercommunicated.
In step S3), controlling the nmginx service includes stopping the nmginx service through a control button of a visual interface of the nmginx visual configuration system when the nmginx service needs to be stopped; when the Nginx service needs to be started, starting the Nginx service through a control button of a visual interface of the Nginx visual configuration system; the controlling the nmginx service further includes testing the configuration file before restarting the nmginx service.
By adopting the technical scheme disclosed by the invention, the following beneficial effects are obtained:
the invention is based on a visual interface, and can realize cross-platform installation of Nginx, configuration upgrading HTTPS, virtual host addition, static resource addition, online configuration file modification, TCP proxy addition, control service start and stop, access log check, error log check, configuration file test and the like. The invention has convenient installation, can complete the deployment of the visual interface and the Nginx through one script file, can realize large-scale batch deployment, can carry out the visual configuration of the Nginx, does not need to modify the configuration file on a command line tool, and can complete the configuration on the visual interface; the method can visually restart the Nginx service by one key without logging in a server operation; the access and operation logs can be visually checked by one key, and the check by a login server is not needed; the method can visually upload the certificate, only the HTTPS related information is required to be filled, and after the completion, the service is automatically restarted and whether the certificate is effective or not is tested, so that the method is simple and efficient; the HTTP can be visually encrypted to HTTPS, and the HTTP is updated to an HTTPS website after the certificate is uploaded by one key, so that the method is convenient and efficient; the HTTPS certificate can be visually updated, and the expired HTTPS certificate can be replaced by one key. The invention reduces the cost of Nginx maintenance technology, can be deployed in batch on a large scale and improves the implementation efficiency of the server.
The foregoing is merely a preferred embodiment of the invention, and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the invention, which is also intended to be covered by the present invention.

Claims (1)

1. The Nginx visual configuration method supporting cross-platform is characterized by comprising the following steps of:
s1) uploading an installation script and an installation resource of the Nginx visual configuration system to a server for installing the Nginx visual configuration system;
s2) logging in the Nginx visual configuration system by using a user name and a password after the installation of the Nginx visual configuration system is completed, and entering a visual interface of the Nginx visual configuration system;
s3) performing Nginx visual configuration through a visual interface of the Nginx visual configuration system, wherein the Nginx visual configuration comprises the steps of modifying Nginx configuration, controlling Nginx service and viewing an Nginx log; in step S3), modifying the nginnx configuration includes adding an HTTP virtual host, adding an HTTPs virtual host, upgrading the HTTP virtual host to the HTTPs virtual host, adding a static virtual host, adding a load balancing group, adding a TCP reverse proxy, displaying and modifying an input parameter of the virtual host;
wherein, the adding HTTP virtual host includes adding host information of a reverse proxy; the HTTPS virtual host adding comprises host information of adding a reverse proxy, and a key certificate and a hem certificate of uploading HTTPS; the host information of the reverse proxy comprises HTTP virtual host port numbers, HTTP virtual machine main names, HTTP virtual host subdirectory information, virtual host remarks, subdirectory remarks, reverse proxy addresses and load group information; the adding of the static virtual host comprises adding a static virtual host port number, a static virtual machine main name, a static virtual host remark, static virtual host subdirectory information, a static virtual host subdirectory remark, a static page address and a mapping method, wherein the mapping method comprises root mapping or alias mapping; the added load balancing group comprises an added load balancing name, an upstream server IP and a port, an upstream server weight and failure attempt times; the adding of the TCP reverse proxy comprises adding a local port, an IP address of the reverse proxy and a TCP port; by adding the Nginx configuration of the HTTP virtual host, remote service can be proxied to a local server, so that the function of accessing remote service is achieved when a local proxy port is accessed, and the service interconnection and interworking problem under a complex network is solved;
in the step S3), the controlling the nginnx service includes stopping the nginnx service through a control button of a visual interface of the nginnx visual configuration system when the nginnx service needs to be stopped; when the Nginx service needs to be started, starting the Nginx service through a control button of a visual interface of the Nginx visual configuration system; the control of the Nginx service further comprises the steps of carrying out hot reloading on the Nginx service and testing a configuration file before restarting the Nginx service;
in step S3), the checking the nmginx log includes checking a real-time access log and checking a real-time error log;
viewing the nmginx log includes viewing a real-time access log and viewing a real-time error log; when modifying the Nginx configuration, modifying the information added through a visual interface into an Nginx.conf file, and automatically carrying out the Nginx-s read hot loading after the configuration is completed; when the Nginx service is controlled, the state of the control button is transmitted into an operating system through the control button of the visual interface, so that the Nginx-s stop, the Nginx-s start and the Nginx-t operation are executed, and if the control button is a Windows operating system, the control button is processed in a form of controlling the Windows service; when checking the Nginx log, obtaining log paths of the access and the error by reading the nginx.conf configuration, displaying retrieval buttons of the two paths on a visual interface, and returning display contents of the corresponding paths after clicking and formatting and displaying;
the method also supports adding an HTTPS virtual host, and the content of the added HTTPS virtual host comprises host information of a reverse proxy and also needs to upload a key certificate and a pem certificate of the HTTPS; by adding the Nginx configuration of the HTTPS virtual host, the website can be normally accessed only by using an HTTPS encryption protocol, so that the problems of advertisement injection or information theft and tampering of the website are prevented;
the HTTP virtual host is also supported to be upgraded to an HTTPS virtual host, and a key certificate and a hem certificate of HTTPS need to be uploaded during upgrading; by the configuration, the website which is originally in the HTTP protocol can be upgraded to the website of HTTPS, so that the website is prevented from being injected by the advertisement of an operator or the problems of information stealing and tampering are prevented;
adding a static virtual host comprises adding a static virtual host port number, a static virtual machine main name, a static virtual host remark, static virtual host subdirectory information, a static virtual host subdirectory remark, a static page address and a mapping method, wherein the mapping method comprises root mapping or alias mapping; by adding the Nginx configuration of the static virtual host, static resources can be added to the website so that the static resources can be accessed by other clients through HTTP or HTTPS protocols;
adding a load balancing group comprises adding a load balancing name, an upstream server IP and a port, an upstream server weight and failure attempt times; by adding the Nginx configuration of the load balancing group, the structure of one load balancing group in the form of a plurality of servers can be achieved, so that the servers cannot be accessed by the client due to single-point faults;
adding a TCP reverse proxy comprises adding a local port, an IP address of the reverse proxy and a TCP port; by adding the Nginx configuration of the TCP reverse proxy, the application based on the TCP protocol can be accessed by other applications after the reverse proxy is firstly carried out on the application to the local machine, so that the application under the complex network can be interconnected and intercommunicated;
the Nginx visual configuration system supporting the cross-platform is suitable for supporting a Nginx visual configuration method of the cross-platform, and comprises a Nginx visual configuration system, wherein the Nginx visual configuration system comprises a front-end UI, a display layer, a service layer, a data access layer and a database layer; the front-end UI is used for writing a visual interface of the Nginx visual configuration system and providing a basic page for a lower layer; the display layer is used for carrying out related operation by a user, generating a request required by the user in a basic page provided by an upper layer, and sending the request to the service layer; the front end UI is connected with the service layer through the display layer; the service layer is connected with the database layer in a bidirectional way through the data access layer; the business layer depends on the data access layer to read the data in the database layer or store the processing result into the database; the business layer is used for configuring upgrading https, adding a virtual host, adding static resources, modifying configuration files online, adding a TCP proxy, controlling service start and stop, checking access logs, checking error logs, testing configuration files, logging and controlling authority; the front-end UI comprises an Html module, a CSS module, a jQuery module, a picture module and a token module; the display layer comprises a template engine rendering module and a Restful interaction module; the output ends of the Html module, the CSS module and the jQuery module are connected with the input end of the template engine rendering module, and the output end of the picture module and the output end of the token module are connected with the input end of the Restful interaction module; the template engine rendering module and the Restful interaction module are respectively connected with a business layer;
the Restful interaction module comprises a POST request module and a GET request module;
the database management layer comprises an SQLite database system and a MySQL database system;
wherein, the Nginx visual management system adopts a Windows server, a Linux server or a Unix server when running;
the system comprises an Html module, a CSS module, a jQuery module, a picture module and a token module, which are component modules of a webpage UI interface; the HTML module is used for marking the content on the content organization; the CSS module is used for modifying the content style and carrying out beautifying display on the content style; the jQuery module is used for expanding the document interaction capability to enable the static HTML to have certain interaction behaviors, including form submission, animation special effects and popup windows, the picture module is a picture displayed on a webpage, and the token module is used for verifying the correctness of user information;
the Nginx visual configuration system running environment simultaneously supports Windows systems, linux systems and Unix systems, sqlite is used as a simple database, gcc, pcre, pcre-devel, zlib, zlib-devel, openssl, openssl-level is used as a dependency layer, configuration upgrading HTTPS, virtual host addition, static resource addition, online configuration file modification, TCP proxy addition, control service start and stop, access log check, error log check and configuration file test are supported on a business layer, template rendering and Restful interaction are used as a presentation layer, and a front-end UI is mainly based on HTML, CSS, JQUERY, pictures and access token as display.
CN202110161869.4A 2021-02-05 2021-02-05 Cross-platform Nginx visual configuration supporting system and method Active CN112883312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110161869.4A CN112883312B (en) 2021-02-05 2021-02-05 Cross-platform Nginx visual configuration supporting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110161869.4A CN112883312B (en) 2021-02-05 2021-02-05 Cross-platform Nginx visual configuration supporting system and method

Publications (2)

Publication Number Publication Date
CN112883312A CN112883312A (en) 2021-06-01
CN112883312B true CN112883312B (en) 2023-06-20

Family

ID=76055803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110161869.4A Active CN112883312B (en) 2021-02-05 2021-02-05 Cross-platform Nginx visual configuration supporting system and method

Country Status (1)

Country Link
CN (1) CN112883312B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190627A (en) * 2021-06-02 2021-07-30 南京恩瑞特实业有限公司 Nginx and Mycat based information system architecture and configuration method thereof
CN113553043A (en) * 2021-07-27 2021-10-26 北京金山云网络技术有限公司 Configuration information deployment system, method, device, equipment and storage medium
CN113824586A (en) * 2021-08-30 2021-12-21 山东浪潮通软信息科技有限公司 Gateway configuration method and system
CN114726650B (en) * 2022-05-17 2022-08-23 北京航天驭星科技有限公司 Task request processing method and device, electronic equipment and computer readable medium
CN115695403A (en) * 2022-10-31 2023-02-03 四川启睿克科技有限公司 Method for generating Nginx configuration file

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189022A1 (en) * 2012-04-17 2014-07-03 Tengrade, Inc. System and method for inputting end-user-selected electronic data, for inputting end-user-selected gradation values of said electronic data, and for creating correlation outputs of said inputted gradation values for optimization of systems and processes
CN108234208A (en) * 2017-12-29 2018-06-29 三盟科技股份有限公司 The visualization load balancing dispositions method and system of resource management based on business
CN109358912B (en) * 2018-09-30 2019-09-13 安徽智恒信科技股份有限公司 A kind of visualization system and method for batch starting micro services
CN109636334A (en) * 2018-12-07 2019-04-16 深圳市汇鑫科技股份有限公司 A kind of property intelligence community service system and method
CN111708571B (en) * 2020-06-17 2023-06-30 宏桥高科技集团有限公司 Micro-service deployment method and device, electronic equipment and storage medium
CN112308062B (en) * 2020-11-23 2022-08-23 浙江卡易智慧医疗科技有限公司 Medical image access number identification method in complex background image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邹翔等.网络综合项目实训教程.东软电子出版社,2013,180-188. *

Also Published As

Publication number Publication date
CN112883312A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN112883312B (en) Cross-platform Nginx visual configuration supporting system and method
US11550596B2 (en) Dynamic generated web UI for configuration
US10127057B2 (en) Method and apparatus for dynamically implementing application function
US9201647B2 (en) Configuration management center
US9098636B2 (en) White-box testing systems and/or methods in web applications
CN106415480B (en) High-speed application for installation on a mobile device for enabling remote configuration of the mobile device
CN111695156A (en) Service platform access method, device, equipment and storage medium
WO2019089446A1 (en) Generating testing infrastructure on a cloud for testing software applications
US20020097268A1 (en) Method, system, and program for a platform-independent, browser-based, client-side, test automation facility for verifying web site operation
CN103873491B (en) A kind of VPN secure browsers system and method to set up
CN112148315A (en) Software deployment method, device, server and storage medium
US9454463B2 (en) Rapid automation front-end framework library and executable graphic user interface testing system and method
CN113268684A (en) Data processing method, device, terminal equipment and storage medium
CN109542470A (en) Configuration, installation method and configuration device
CN115658496A (en) Extensible Web automatic test method, system, equipment and storage medium
CN117931219A (en) Front-end project implementation method and device, electronic equipment and storage medium
US11836510B2 (en) Snapshot capture of computing device user interfaces
CN109324822B (en) PWA (public warning assistant) item detection method, computer-readable storage medium and terminal device
CN113852621B (en) License information determining method and device based on Jenkins server and storage medium
CN113094281B (en) Test method and device for hybrid App
Cisco Read Me First for SLM Collection Manager 2.0
Cisco Release Notes for CiscoWorks for Windows 6.1
US20050034120A1 (en) Systems and methods for cooperatively building public file packages
Silver Monitoring network and service availability with open-source software
CN111506503B (en) JMeter-based interface signature verification method and device, computing equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant