<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; WordPress nginx</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/wordpress-nginx/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>linux下WordPress nginx伪静态规则设置</title>
		<link>https://www.osyunwei.com/archives/2023.html</link>
		<comments>https://www.osyunwei.com/archives/2023.html#comments</comments>
		<pubDate>Wed, 01 Feb 2012 08:35:40 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Nginx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nginx伪静态]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress nginx]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2023</guid>
		<description><![CDATA[     1、在相应nginx配置文件的server容器中添加下面的代码      系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 location / { if (-f $request_filename/index.html){                 rewrite (.*) $1/index.html break;         } if (-f $request_filename/index.php){                 rewrite (.*) $1/index.php;         } if (!-f $request_filename){                 rewrite (.*) /index.php;         } } 例如：        vi /usr/local/nginx/conf/nginx.conf    #编辑nginx配置文件 找到server_name localhost;在后面一行添加上面的代码 :wq!   #保存配置文件 service nginx restart    #重启nginx       系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2023.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2023.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
