![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VPS使用教程
mao254615866
这个作者很懒,什么都没留下…
展开
-
nginx完整代码实例
两个虚拟主机(纯静态-html 支持)http {: server {: listen 80;: server_name www.domain1.com;: access_log logs/domain1.access.log main;: location / {: index index.html;: root /var/www/domain1翻译 2017-05-13 01:03:14 · 341 阅读 · 0 评论 -
Apache HTTP 301重定向跳转到 HTTPS
网站根目录新建 .htaccess`RewriteEngine OnRewriteCond %{SERVER_PORT} 80RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]`站点绑定多个域名,只允许www.rutian.org 跳转RewriteEngine OnRewriteCond %{SERVER_PORT} 80RewriteCond转载 2017-05-27 10:12:38 · 579 阅读 · 0 评论