Category: Nginx

  • Post Views: 19 1. Error: DNS_GET_RECORD(): DNS query failed. as shown in Figure 1 2. Print the $HOST, the value is:https://object-wp.local/WP_ADMIN_USERNAME=admin 3. Open in the browser:https://object-wp.local/WP_ADMIN_USERNAME=admin, response 404. But surehttps://object-wp.localis supported. as shown in Figure 2 4. When starting with http://, the error is still reported: warning: dns_get_record(): dns query failed. as shown in Figure 3 5. Open in the…

  • Post Views: 19 1. Refer to the template source code editing in the Shopify background, when uploading a file greater than 50 MB, the response 413 request entity too large. This should be limited by the settings of the Nginx server: client_max_body_size 50M . as shown in Figure 1 2. When uploading a 48.5 MB CSS file, it takes 2…

  • Post Views: 57 1. Install Nginx Proxy Manager, open the Windows Terminal command line, and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Enter the user root directory, create a new directory: proxy-manager, enter the directory: proxy-manager, create a file: docker-compose.yml. as shown in Figure 2 3. Edit the file: docker-compose.yml, save and…

  • Post Views: 62 1. In K8S, the HTTP response 502 Bad Gateway, Message: an invalid response was received from the upstream server. Received an invalid response from the upstream server. 502 Bad Gateway error specifically indicates that the server received an invalid response from the inbound server. Kong/2.5.0. as shown in Figure 1 2. The reason is that the GET…

  • Post Views: 13 1. Request an HTTPS URL in OpenResty and report an error: Unable to get local issuer certificate. as shown in Figure 1 2. Reference URL:https://github.com/ledgetech/lua-resty-http/issues/68. client:request_uri(url, { ssl_verify = False, }). 3. Edit the request client code, add ssl_verify = False when initiated a request in lua-resty-http. as shown in Figure 2 4. Request an HTTPS URL…

  • Post Views: 14 1. Run the Lua program, and report an error: 500 Internal Server Error Openresty/1.19.9.1. as shown in Figure 1 2. Check the nginx log file, morefunresty.dev.chinamcloud.cn.error.log, modulelib.redisNot found: no field package.preload[‘lib.redis’]. as shown in Figure 2 3. Edit the nginx file and add lua_package_path to configure the file addressing path of openresty 4. After restarting the Nginx…

  • Post Views: 67 1. URL: http://openresty.org/cn/download.html , download and install: 64-bit Windows: openresty-1.19.9.1-win64.zip. 2. Unzip to the directory: C:\OpenResty-1.19.9.1-Win64. as shown in Figure 1 3. Usage documentation for Windows version of OpenResty: https://github.com/openresty/openresty/blob/master/doc/readme-windows.md . Start the Nginx server of the Win64 binary distribution of Openresty. 4. Check the task manager, in addition to the native Nginx software, it has also…

  • Post Views: 15 1. Report an error in Windows 10, Nginx 1.10, and PHP 7.4: 413 Request Entity Too Large. The size of the uploaded file: 286MB. as shown in Figure 1 2. Check phpinfo, the size of the uploaded file is limited to 1024M. as shown in Figure 2 3. Add to nginx’s server: client_max_body_size 1024M; 4. Restart nginx…

  • Post Views: 19 1. Error in K8S: 504 Gateway time-out nginx/1.17.8. The request timeout limit is 60 seconds. as shown in Figure 1 2. Reference URL:https://www.shuijingwanwq.com/2020/02/19/3936/. The relevant parameters have been adjusted to 300 seconds. But still error. 3. Create a new PHP file, running time for more than 120 seconds. curlhttp://127.0.0.1:81/1.phpNo errors were reported. as shown in Figure 2…

👨‍💻 Personal Brand

Wang Shiqiang | PHP & Go Technical Consultant

15+ years of backend development experience specializing in system maintenance, architecture optimization, performance tuning, and Linux administration.

Technical blogger since 2013 with 1,000+ original articles.

Available for consulting, long-term maintenance, and remote collaboration.

👉 About Me & Contact

.env (14) 404 (13) add (17) Aliyun (19) Apache (13) Array (19) browser (14) Cache (13) CentOS (23) chrome (18) Client (11) command line (13) composer (42) composer.json (22) composer install (13) composer update (14) console (14) Container (25) curl (15) Database (11) database migration (16) delete (32) Docker (31) Dockerfile (15) ECS (12) environment variable (20) error (24) escape (12) Failed (13) file (16) filter (20) fopen (11) FORMAT (12) function (13) Git (27) GitHub (16) Gitlab (15) Go (34) Go 1.26 (12) GraphQL (24) GraphQL API (14) hosts (11) http (21) https (20) Installation (13) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (36) Laravel 6 (56) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (15) Memory (11) Migrate (13) Migration (11) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (45) Node.js (12) normalize.css (29) OKX (15) PHP (63) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (24) postman (18) Query (17) queue (16) Rancher (24) Redis (38) Refactoring (12) require (12) response (13) RESTful (27) RESTful API (23) rules (12) setting (12) Shell (13) Shopify (19) Shopify CLI (12) SQL (24) String (15) TortoiseGit (15) Ubuntu (35) update (20) VPN (13) Windows 10 (46) WireGuard (22) WordPress (48) Wstunnel (11) Yii (40) Yii 2 (70) Yii 2.0 (51)

June 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930