Can one nginx server be used as both a reverse proxy and a web server? Or should one be used as a reverse proxy and the other as a web server?
某草草
某草草 2017-05-16 17:24:33
0
5
841

Can I use one nginx server as both a reverse proxy and a web server, or should I use one as a reverse proxy and one as a web server? I can't find the answer on google, don't laugh at my mentally retarded question

某草草
某草草

reply all (5)
cloudmam

You can try the server management tool Cloud Helper

    哪儿

    Recommend an artifact that should be able to help you.Cloud Helperis a powerful and comprehensive centralized management cloud host software. Not only is it compatible with Linux systems, Windows can also be used. In fact, the use of functions is quite good, because the functions are comprehensive and the installation is simple. Basically, it can be done with one click by a fool. If you add a cloud host in the middle, you need to add a probe for the first time, and then you can basically operate it on the panel. This is quite convenient. I have tried basically all the mainstream clouds and there are no problems, and there are no problems with the system. This is quite worry-free. I won’t say that there are any cloud providers or systems that cannot be used, and I have to find another software. The general functions are as follows: 1. Batch management of multiple cloud hosts; 2. Strong compatibility, compatible with basically all cloud business cloud hosts on the market, and compatible with operating systems; 3. Simple operation, visual interface preview resources, one-click repair, one-click deployment ; 4. You can remotely log in to the FTP desktop of the cloud host and process files on the cloud host; 5. Monitoring and resources also have an alarm function, which is very good, and you don’t have to stare at it; 6. System repair function, this is very practical It is also quite necessary; 7. Free to use. Generally speaking, the functions are quite complete, and there is no need to find another software. A cloud helper software basically meets all needs.

      小葫芦

      While acting as a reverse proxy, it is still used as a web server for static requests. Take the example from the Beginner's Guide on the official website:

      server { location / { proxy_pass http://localhost:8080/; } location ~ \.(gif|jpg|png)$ { root /data/images; } }

      The first location performs the reverse proxy function, and the second location points to the static content of its own server as a web server.

        滿天的星座

        Yes! Everyone can match their own

          伊谢尔伦

          I read the wrong question, please ignore it.

            Latest Downloads
            More>
            Web Effects
            Website Source Code
            Website Materials
            Front End Template
            About us Disclaimer Sitemap
            php.cn:Public welfare online PHP training,Help PHP learners grow quickly!