< H1 > question: < H1 > when docker starts nginx, mime.types reports an error include fastcgi_params also reported an error in site configuration < H2 > 1. Mime.types error related < H2 > nginx container error log: 2018 09 25 13:27:27 [emerg]...
problem description the URL must be https when debugging Mini Program web-view. How to agent https locally. Web development my usual http web page development is to modify the hosts file and proxy the domain name xx.xxx.com to the local 127.0.0.1 ...
choose that configuration for static files: location ~ .* .(js|css|gif|jpg|jpeg|png|bmp|swf)$ { expires 6h; -sharp } and this configuration location ~ .* .(js|css|gif|jpg|jpeg|png|bmp|swf)$ { proxy_pass http: app; expir...
the current architecture is 1 keepalived 2 master slave, and the other two 3amp 4 servers. If the client sends a request to the master and the master dies, or if one of the 3amp 4 fails, the client s current request will fail. How to deal with I ...
upload file API, cross-domain, and then reverse through Nginx. The configuration is as follows: location aaa { proxy_pass http: www.xxx.com:8887 aaa api device upload; } Test: proxy_pass http: bing.com; can see the Bing page, so the conf...
Environment: centos7+openresty+csf Firewall + php7 both issue: http and https display normally, but after refreshing any web page more than 5 times in about 5 seconds, 403 forbidden, will appear about 10 seconds later, refresh the page, and the page w...
I understand that lvs is a four-tier load balancer and nginx is a layer 7, but I still can t understand why we still need lvs? when there is nginx. Are there any good examples to understand? ...
Environment: pc and mobile phone are connected to the same router to surf the Internet, and pc is built using wamp (wampserver3.0.4_x86_apache2.4.18_mysql5.7.11_php5.6.19-7.0.4.exe). symptom: mobile phone enters pc ip (LAN ip,192.168.1.*), mobile phone ...
there are three servers, one is a Nginx reverse proxy server, and it is also a static server, and two are web servers. Now, if you use a proxy server to visit a website, it is found that it takes longer to access a website than to visit a web server dir...
problem description in the configuration file of nginx, after using the proxy_pass proxy, access the address, the first time 404, the second time normal, the third time 404, the fourth time normal, and so on. Is a 404, refresh is normal, and then refr...
for example, when I first used nginx, I changed it according to the default configuration and wanted to do a simple hello world.. The expected effect of is that typing http: aaa.com:8081 main.html, in the browser address bar should open a specific p...
configure the following, but cannot maintain a persistent connection (viewing the log file by configuring the log file $sent_http_connection, is always close); , what s the problem? Thank you. http { include mime.types; default_type app...
error prompt: WebSocket connection to wss: (URL): 2346 failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR I think it may be the certificate Source code input: ws = new WebSocket ( "wss: (URL: 2346 "); if you connect to a...
1. Online deployment environment is the use of ngnix+tomcat to achieve the separation of movement and movement, the specific I do not quite understand, but now part of the style can not come out of, element ui invalid. 2. When the online deployment en...
proxy server A _ Magi IP is 192. 168.31.3, configure nginx. website 1, deployed on the same local area network server as A, with the address http: 192.168.31.4:8180 website 2, deployed on other servers, not on the same local area network as server...
during the deployment phase of the project, the front-end call interface is cross-domain. Should you set a reverse proxy on the web server or add cross-domain code on the server? which is better, or is there a better way? ...
Server 2000 TPS, with an average access time of 10ms, can you calculate the number of concurrent users? What is the relationship between the two? ...
the server does redirect rewrite (. *) http: ip:xxxx points to the load server. there is no redirection before, but ip_hash is used to solve the session problem. upstream aa { ip_hash; server ip1:xxxx; server ip2:xxxx; } both hash $http_x_forward...
I can access index.html and 50x.htl, but I can t access my own static resources my configuration file looks like this: html: html index.html where is the log log of linux s nginx? It means that you have just learned the linux system. ...
as mentioned, all I know is that nginx is multi-process. The main process (parent process) registers the IO event with the kernel through epoll. When the IO event occurs, the kernel sends a signal to the parent process, which is the parent process notif...
Project scaffolding: vue-cli 3.x, using vue + vue-router + iview iview for on-demand introduction, using: Row, Col, Button, Carousel, CarouselItem, Icon problem description problem: access is normal in the high version browser, but it is access...
public class Solution { ArrayList < Integer > arrayList=new ArrayList < Integer > (); public ArrayList<Integer> printListFromTailToHead(ListNode listNode) { if(listNode!=null){ this.printListFromTailToHead(listNode.next); arr...
<video id="video" preload="auto"> <source src=". static video movie.ogg" type="video ogg"> < video> JSdurat...
I introduced a bottom navigation in app.vue, and now I want to jump to the detail page, and this page does not have a bottom navigation, how should this bottom navigation not be displayed? ...
ask for advice, thank you ...