background description I want to put a project interface in the api.xxx.com domain name in the form of a subdirectory. For example, api.xxx.com friends , this subdirectory is full of friends project interfaces. related codes my corresponding ...
userAgent is as follows: Mozilla 5.0 (Macintosh; Intel Mac OS X 10_12_4 ) AppleWebKit 537.36 (KHTML, like Gecko ) x09 x09 x09Chrome 55.0.2883.95 Mozilla 5.0 (compatible; Baiduspider 2.0; +http: www.baidu.com search spider.html xA3 xA9 t...
the company has a very basic, very important function. Now want to turn it into a service, so the question is how to make the service highly available. Because the foundation is important, it must not be hung up because it is important, and there must be...
nginx version: 1.12.1 nginx virtual host configuration is as follows: server{ listen 80; server_name abc.local; index index.html index.htm index.php; root opt tool web; location = favicon.ico { log_not_found off; ...
the current URL of the project is the address of http: www.xxx.cn project_name is usr local tomcat webapps project_name then I think all http: www.xxx.cn project_name (. *.).do requests are handed over to tomcat s requestmapping project_na...
there is a site that has just successfully installed a free certificate for Let s Encrypt, and nginx has configured access to https. can now be accessed through both https and http. Some pages can be accessed both ways, but some pages can be accessed...
this is the dash, on windows is the same as DASH on MAC. Looking at the picture above, downloading the document has been failing. Is the server down and no longer providing services? ...
wants to be a Mini Program platform for merchants to move in. wants to use a set of server codes to provide data to multiple Mini Program. then these Mini Program all get data from one domain name . so: searched the Internet: how many Mini Program c...
< H2 > question < H2 > css,js files are stored in Tencent Cloud s cos (object Cloud Storage), where font.css has a request to obtain fonts, icons and other files in the same directory. Some of the code is as follows. @font-face { font-family: So...
404 ask the great god to explain ...
A warehouse has been built using gitlab in the company. The private network address is 192.168.11.202 ip 80. Now the router is used for port mapping. If the IP mapped to the public network is 5.6.7.8 ip 1122, how can a domain name be used to resolve to t...
for example: my domain name is www.abc.com I want to specify that when a user accesses www.abc.com xx , he she will directly report the 404 status code so that it cannot open but can access other routing www.abc.com yy to access normally. add: th...
I have a server of Tencent Cloud. I use flask,uwsgi,nginx to build a server. is written like this according to the method on the Internet. my nginx configuration is I modified this file etc nginx sites-enabled default server { listen 80; s...
the principle of ip_hash for load balancing is that the ip_hash technology in nginx can direct the request of a certain ip to the same backend. So if you encounter a down drop on one of the servers, is it impossible for the client assigned to this server...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title< title> < head> <body> <div> <h1>Test< h1> <img src="https: www.bai...
there is an access to the php file under the server folder, but the ip nginx shows that no static html file can be accessed. Google Baidu modified php-fpm and folder permissions is still wrong. I have no problem building the same configuration under the...
now I can find the corresponding ip, when I resolve different ip, speed tests for domain names directly in dns. Can I just resolve domain names and specify what ip, doesn t need to be set ? after I set ip in the current site profile include www se...
how to access tomcat, of different ports open on this machine through nginx for example, there are six tomcat on this machine is tomcat1 8080 tomcat2 8081 tomcat3 8082 tomcat4 8083 tomcat5 8084 tomcat6 8085 , respectively. then the server newl...
it seems that apache will do the same. nginxserver linux personal website, there is no problem with index page refresh, but entering other page refresh will be gg. http: leisuremoment.com ...
use openssl to automatically generate keys locally, and access tests show insecure connections. How to solve this problem? configuration file is as follows: server { listen 443; server_name localhost; **ssl on; ...
java cooperated with opencv to write a small monitoring software based on usb camera under windows system. saved on disk in the form of 8 photos per second, resulting in too many fragmented files. it takes too long to delete using the normal delete com...
both class are the same file class hui{ constructor(){ } log=function(){ console.log(123) } } var h = new hui(); h.log(); export default hui; contents of test.js require( .. searchWidget class ) require( . class ); when...
as there are more and more routes, more and more components are introduced into router.js, and each particular page corresponds to a different component. is this a reasonable way to write? It feels weird ...
< H1 > problems I encountered when using prerender-spa-plugin in my react project: < H1 > when I just preload the home page, the home page renders quickly, but there are five routes in my project, and the rest of the routes need to be logged in before...
the provincial map has coordinate points. Click to drill down to the city map, and then according to the addition of coordinate points, how to do it? now I have added it at the provincial level. After drilling down, I can t always add it up ....