Nginx-style IK hot deployment and its messy code problems
1. Create dic file
2 under the sibling directory of nginx. Adds a remote participle to the ik participle configuration file
After
is configured, restart nginx and elastic search.
Linux system configuration is the same as window configuration
if there is a problem with messy code, please see the following messy code solution
Messy code problem solved, pro – test available
1. Add nginx to Server
default_type 'text/html'; charset utf-8;
Add the following code to Elastic
-Xms1g
-Xmx1g
-Dfile.encoding=GBK
Read More:
- nginx: [error] invalid PID number in /var/run/nginx.pid
- /var/run/nginx/nginx.pid” failed (2: No such file or directory)
- Nginx error: nginx: [error] invalid PID number “” in “/run/nginx.pid”
- Nginx startup error: nginx: [error] open() “/ var / run / nginx/ nginx.pid The solution of “failed (2: no such file or directory)”
- Nginx configures different domain names to access different projects
- nginx: [error] open() "/var/run/nginx/nginx.pid" failed (2: No such file or directory)
- nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- Nginx installation in MAC
- Error! Failed to start nginx
- nginx: [error] open() “/usr/local/var/run/nginx.pid” failed (2: No such file or directory)
- nginx: open() “/var/run/nginx.pid“ failed (2: No such file or directory)
- Deployment project websocket failed: error during websocket Handshake: unexpected response code: 400
- failed: Error during WebSocket handshake: Unexpected response code: 400
- Solve the problem of starting nginx nginx.pid error
- CentOS7 nginx Failed to read PID from file /run/nginx.pid: Invalid argument?
- Ngixn exception net:: err_ HTTP2_ PROTOCOL_ ERROR 200
- Nginx start error: job for nginx.service failed because the control process exited with error code
- Ubuntu 20.04 builds nginx 1.18.0 and MAC file transfer / download to server
- Solve the problem of syntax error: unexpected end of file or syntax error near unexpected token ` fi ‘error