In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the operation steps of linux configuration nginx pseudo-static, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
1. Home page, go to the command window of linux
2. Then enter the following command
# vim / usr/local/nginx/conf/nginx.conf
3. Edit the settings file of linux and find the following code:
Server {. Location / {index index.htm index.html index.php;# below are pseudo-static settings if (!-e $request_filename) {rewrite ^ / (. *)\ .html / index.php?m=$1&c=$2&a=$3&$4=$5&$6=$7 last; break;} # below are pseudo-static settings}. }
4. After setting up, press: wq to save edits
5. Finally restart nginx and use the command:
/ etc/init.d/nginx reload Thank you for reading this article carefully. I hope it will be helpful for everyone to share the operation steps of configuring nginx pseudo-static in linux. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
NAME ls-list directory contentsSYNOPSIS ls [OPTION]... [FILE]... DES
© 2024 shulou.com SLNews company. All rights reserved.