Home>Article>Backend Development> apache pseudo-static to nginx

apache pseudo-static to nginx

王林
王林 Original
2019-10-09 11:57:42 8401browse

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

apache pseudo-static to nginx

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php close error prompt Next article:php close error prompt