This problem has occurred in previous projects. Recently, it occurred again when testing Jenkins + Vue to realize automatic deployment. Record it separately here.
The solution is to modify the configuration file of nginx: just add two red boxes
Similar Posts:
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- [Solved] nginx Error: directory index of “/home/www/hexo/” is forbidden
- [Solved] Jenkins deploy task error: Host key verification failed
- Jenkins configuring SVN Error: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
- Nginx Error: nginx: [emerg] “server” directive is not allowed here in
- ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ
- Solution to pod error “back off restarting failed container”
- Net:: err_ CONTENT_ LENGTH_ Mismatch error, nginx configuration is correct
- WordPress card in WP admin / setup- config.php It’s a blank
- [Solved] Nginx restart error: nginx: [error] open() “/run/nginx.pid” failed (2: No such file or directory)