Home>Article>Backend Development> apache pseudo-static to nginx
apache pseudo-static to nginx pseudo-static
1. Find the pseudo-static file in the project and open the file with vim , copy the content
2. The following is the automatically converted URL
http://www.51ask.org/apache2nginx/
3. Copy the converted content Inside .htaccess. Replace the original content. wq save and exit
4. Configure nginx server
Introduce pseudo-static files. The path of the file is determined according to your actual situation
5. Restart the nginx server
service nginx restart (启动命令可能不大一样);
Recommended tutorial:PHP video tutorial
The above is the detailed content of apache pseudo-static to nginx. For more information, please follow other related articles on the PHP Chinese website!