shan
shan
You can use nginx to implement a static directory proxy. location /uploads/ { alias /path/to/.uploads/; autoindex on; autoindex_exact_size off; autoindex_localtime on; try_files $uri $uri/ =404; expires 1d; add_header Cache-Control "public,...
I'm sorry I didn't take a screenshot. Starting localhost: port locally doesn't have this issue. But for example, accessing www.xxx. com/Google. com/will force you to jump to https://www.google.com
I don't have any configuration here. My current solution is to solve the URL redirection problem in nginx by matching double slashes. if ($request_uri ~ "^//") { return 403; }...