信念完美网_CN - 技术 https://www.xnwmw.cn/tag/%E6%8A%80%E6%9C%AF/ zh-CN Sun, 12 May 2019 15:48:35 +0800 Sun, 12 May 2019 15:48:35 +0800 宝塔安装nextcloud先改伪静态 https://www.xnwmw.cn/141.html https://www.xnwmw.cn/141.html Sun, 12 May 2019 15:48:35 +0800 2024 gzip off; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; location = /robots.txt { allow all; log_not_found off; access_log off; } rewrite ^/.well-known/host-meta /public.php?service=host-meta last; rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; location / { try_files $uri/ /index.php?/$uri; } location /admin.php { try_files $uri $uri/ /admin.php; } location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ { deny all; } location ~ ^/(?:.|autotest|occ|issue|indie|db_|console) { deny all; } location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+).php(?:$|/) { fastcgi_split_path_info ^(.+.php)(/.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param HTTPS on; fastcgi_param front_controller_active true; } location ~ ^/(?:updater|ocs-provider)(?:$|/) { try_files $uri/ =404; index index.php; } location ~ .(?:css|js|woff|svg|gif)$ { try_files $uri /index.php$uri$is_args$args; } location ~ .(?:png|html|ttf|ico|jpg|jpeg)$ { try_files $uri /index.php$uri$is_args$args; }

 

]]>
0 https://www.xnwmw.cn/141.html#comments https://www.xnwmw.cn/feed/tag/%E6%8A%80%E6%9C%AF/
禁止国外IP访问——CF673NET https://www.xnwmw.cn/126.html https://www.xnwmw.cn/126.html Wed, 17 Apr 2019 11:43:00 +0800 2024 禁止国外IP访问——CF673NET

]]>
0 https://www.xnwmw.cn/126.html#comments https://www.xnwmw.cn/feed/tag/%E6%8A%80%E6%9C%AF/
WordPress模版应包括如下文件 https://www.xnwmw.cn/65.html https://www.xnwmw.cn/65.html Sat, 29 Dec 2018 02:07:43 +0800 2024 style.css : 样式表文件
index.php : 首页模板
archive.php : 文章归档/分类目录模板
404.php : 404 模板
comments.php : 留言/回复模板
footer.php : 底部模板
header.php : 顶部模板
sidebar.php : 侧栏模板
page.php : 页面模板
single.php : 文章页面模板
functions.php : 模板函数
search.php : 搜索结果模板

]]>
0 https://www.xnwmw.cn/65.html#comments https://www.xnwmw.cn/feed/tag/%E6%8A%80%E6%9C%AF/