• How to deal with the problem that JS can’t fully load under the environment of nginx + Tomcat agent


    Problem scenario: the packaged JS of the VX project is published to the server to report the error, and then the packaged JS is put on the qiniu cloud server. It’s OK to reference the JS in the HTML page. The server was easy to use before, and I don’t know why it’s not working […]

  • What can nginx do? After reading this, you will understand!


    By RayeLink: www.jianshu.com/p/8bf73d1a758c This article only focuses on what nginx can handle without loading the third-party module. Because there are too many third-party modules, it can’t be covered completely. Of course, this article itself may not be complete. After all, it’s just that I’ve used and understood it personally. Welcome to leave a message and […]

  • Spring interview questions collection (selected)


    The following is from the network collection, and the source of the original cannot be found. This is mainly for interview collection. I hope it can help you~~~~ 1. What is spring? Spring is an open source Java EE development framework. The core functions of spring framework can be applied to any Java application, but […]

  • A record of the failure to log in caused by nginx reverse agent


    background The thing is like this. The company developed a system before, but it was offline for national policy reasons. After two years, it can be online again. However, only the code, the configuration of the relevant environment is not available. In the process of re launching, we encountered the problem that the system could […]

  • An article gives you endless IP agents


    This article contains the python external library required by the code: requests BeautifulSoup4 This article is especially suitable for people who have a certain understanding of Python crawlers, but if you are Xiaobai, you can also get some knowledge of the Internet from this article < font color = blue size = 6 > Background: […]

  • Quick tutorial of spring cloud microservices (5) zuul API gateway Center


    0-preface We have built microservices one by one. How can external applications access all kinds of microservices? In the microservice architecture, the back-end service is often not directly open to the caller, but through an API gateway according to the URL of the request, it is routed to the corresponding service. When the API gateway […]

  • 18. Nginx and Lua gray scale release


    Install memcached yum install -y memcached #Start memcached service, port 11211, start as nobody, – D background mode memcached -p11211 -u nobody -d #Set your own IP as the IP for grayscale test telnet 11211 set 0 0 1 1 quit Install memcached for Lua wget https://github.com/openresty/lua-resty-memcached/archive/v0.11.tar.gz tar -zxvf v0.11.tar.gz mkdir -p /usr/local/share/lua/5.1 […]

  • Cross domain causes the browser not to save cookies


    Two background projects have been done recently. The technologies used at the front and back end have not changed. Only the front end of the first project is configured with agent forwarding, while the front end of the second project is not configured, but this difference makes the joint commissioning of the project problematic. Today, […]

  • Building Tomcat cluster & a popular scheme of sharing session through redis cache


    Why share session? When we use a single tomcat, there is no doubt about sharing session. As long as we use the default configuration of tomcat, the session can be stored on Tomcat. However, with the expansion of business, increasing Tomcat nodes constitutes the general trend of Tomcat cluster. Distribution brings the advantage of increasing […]

  • Spring boot asynchronous request and asynchronous call


    I collated Java advanced materials for free, including Java, redis, mongodb, mysql, zookeeper, spring cloud, Dubbo high concurrency distributed and other tutorials, a total of 30g, which needs to be collected by myself.Transfer gate:https://mp.weixin.qq.com/s/osB-BOl6W-ZLTSttTkqMPQ 1、 The use of asynchronous requests in spring boot 1. Asynchronous request and synchronous request           characteristic: […]

  • Touch your hand and ask you to use proxy to handle cross domain


    First of all, the cross domain problem should be encountered when the front and back end are separated for development. Last week, the new partners are not familiar with it, so just write it down. Review it yourself. 1. What is cross domain Access to XMLHttpRequest at ‘https://XXX.com’ from origin ‘http://localhost:8080’ has been blocked by […]

  • Learn about spring


    Spring-Chapter III   Restore the test of Web project_ Shop to test_ Shop_ SM Spring integrates mybatis       step 1. Add jar packages related to spring and mybatis See share, test_ Shop_ SM\jars 2. Copy applicationContext.xml , modifying some namespaces           3. Test a product service example     […]