Category: HTTP Server
-
Post Views: 16 1,https://object-master.local/robots.txt, response 404. as shown in Figure 1 2, but,https://object.local/robots.txt, the response 200. as shown in Figure 2 3. The only difference between these 2 URLs is -master . Run: tasklist /fi “imagename eq nginx.exe” . View the nginx process running in the background. There are 4. In theory, there should only be 2 of them. and…
-
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: 22 1. In the local development environment, Laravel Sail has been deployed based on the deployment. Open URL:http://weibo.test/, the response 200. as shown in Figure 1 2. Register a Heroku account and use @163.com to find that it is not allowed, and finally use @gmail.com, the registration is successful. as shown in Figure 2 3. Click the link…
-
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: 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…