apache pseudo-static to nginx

王林
Release: 2023-04-07 14:12:02
original
8271 people have browsed it

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/
Copy after login

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           (启动命令可能不大一样);
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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 [email protected]
Latest issues
Popular Tutorials
More>
Latest downloads
More>
web effects
Website source code
Website materials
Front end template
About us Disclaimer Sitemap
PHP Chinese website:Public welfare online PHP training,Help PHP learners grow quickly!