摘要: server { ... location / { index index.htm index.html index.php; #访问路径的文件不存在则重写URL转交给ThinkPHP处理 if (!-e $request_filename) { rewrite ^/(.*)$ /ind... 阅读全文
posted @ 2017-02-23 16:27 haiwei.sun 阅读(142) 评论(1) 推荐(0) 编辑
摘要: #/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT #/sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT 然后保存: #/etc/rc.d/init.d/iptables save 再查看是否已 阅读全文
posted @ 2017-02-23 08:26 haiwei.sun 阅读(278) 评论(0) 推荐(0) 编辑
返回顶部