<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>微控圈（MCU Loop） - Web</title>
    <link>https://www.mculoop.com/forum-33-1.html</link>
    <description>Latest 20 threads of Web</description>
    <copyright>Copyright(C) 微控圈（MCU Loop）</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 06 Apr 2026 07:34:25 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.mculoop.com/static/image/common/logo_88_31.gif</url>
      <title>微控圈（MCU Loop）</title>
      <link>https://www.mculoop.com/</link>
    </image>
    <item>
      <title>phpMyAdmin 安装配置</title>
      <link>https://www.mculoop.com/thread-186-1-1.html</link>
      <description><![CDATA[[md]
phpMyAdmin 是一个用 PHP 编写的软件工具，主要用于管理和操作 MySQL 数据库。它采用了基于 Web 的架构，让用户可以通过 Web 浏览器来访问和管理 MySQL 数据库，无需安装额外的客户端软件。

phpMyAdmin 提供了丰富的功能，包括数据库的创建、删除、修改、查询等操 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Sat, 24 Feb 2024 05:39:43 +0000</pubDate>
    </item>
    <item>
      <title>使用 OpenSSL 生成和签发 SSL 证书</title>
      <link>https://www.mculoop.com/thread-185-1-1.html</link>
      <description><![CDATA[[md]
SSL 证书是数字证书的一种，也称为服务器 SSL 证书。它遵守 SSL 协议，由受信任的数字证书颁发机构 CA 在验证服务器身份后颁发。SSL 证书具有服务器身份验证和数据传输加密功能，可以确保在客户端和服务器之间的信息传输过程中，数据不被改变，保证数据的完整性， ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Fri, 23 Feb 2024 01:54:40 +0000</pubDate>
    </item>
    <item>
      <title>HTTP 协议知识点</title>
      <link>https://www.mculoop.com/thread-141-1-1.html</link>
      <description><![CDATA[[md]
目前 HTTP 协议使用的最多的是 1.1 版本。



**HTTP 1.0 与 HTTP 1.1 的区别**

1、HTTP 1.1 支持长连接和请求流水线

1.0 只能使用短连接，每次请求完成后断开连接，新的请求需要重建新的连接。而 1.1 则支持长连接（持久连接，Persistent Connection），所以可 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Wed, 24 Jan 2024 04:41:21 +0000</pubDate>
    </item>
    <item>
      <title>Hugo 使用笔记</title>
      <link>https://www.mculoop.com/thread-115-1-1.html</link>
      <description><![CDATA[[md]

![](https://file.mculoop.com/images/2024/01/10/202401100129243.svg)

## 什么是 Hugo

Hugo 是一个用 Go 语言编写的静态网站生成器。它具有简单、易用、高效、易扩展和快速部署等特点。与其他动态网站生成系统（如 WordPress、Ghost 和 Drupal）不同，Hugo 在 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Tue, 09 Jan 2024 17:24:49 +0000</pubDate>
    </item>
    <item>
      <title>修改 Nginx 附件大小的限制</title>
      <link>https://www.mculoop.com/thread-104-1-1.html</link>
      <description><![CDATA[[md]
Nginx 默认限制请求附件大小为 1MB。即：默认当你通过 Nginx 代理上传附件，大于 1M 的文件时，浏览器会抛出异常。

可以通过设置 nginx.conf 中的 http 块，添加或修改 `client_max_body_size` 参数来更改默认的附件大小限制。例如，将 client_max_body_size 设置 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Sat, 06 Jan 2024 10:33:07 +0000</pubDate>
    </item>
    <item>
      <title>PHP 附件大小限制的修改</title>
      <link>https://www.mculoop.com/thread-103-1-1.html</link>
      <description><![CDATA[[md]
在 PHP 中设置附件大小限制，可以通过以下两种方式实现：

## 修改 php.ini 文件

在 php.ini 配置文件中，可以修改 `post_max_size` 和 `upload_max_filesize` 两个参数来分别限制 POST 数据和上传文件的大小。

**这两个参数的区别：**

1. **post_max_size**:
  ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Sat, 06 Jan 2024 10:17:50 +0000</pubDate>
    </item>
    <item>
      <title>使用 Certbot 获取 Let’s Encrypt 证书</title>
      <link>https://www.mculoop.com/thread-88-1-1.html</link>
      <description><![CDATA[[md]
## Let’s Encrypt

[https://letsencrypt.org/](https://letsencrypt.org/)

Let’s Encrypt is a free, automated, and open Certificate Authority.

## Certbot

Automatically enable HTTPS on your website with EFF\'s Certbot, deploying Let\'s Encrypt]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Thu, 28 Dec 2023 16:55:19 +0000</pubDate>
    </item>
    <item>
      <title>CSS 学习笔记</title>
      <link>https://www.mculoop.com/thread-83-1-1.html</link>
      <description><![CDATA[[md]

## 什么是 CSS

CSS 是 Cascading Style Sheets（层叠样式表）的缩写，用于定义如何显示 HTML 中的元素。

## 如何理解“层叠”

当同一个 HTML 元素被不止一个样式定义时，会使用哪个样式呢？ 一般而言，所有的样式会根据下面的规则层叠于一个新的虚拟样式表中： ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Thu, 28 Dec 2023 15:06:41 +0000</pubDate>
    </item>
    <item>
      <title>在Hugo PaperMod主题中加入数学支持的最简方式</title>
      <link>https://www.mculoop.com/thread-79-1-1.html</link>
      <description><![CDATA[[md]
目的：在不修改主题的情况下支持数学公式。

在当前的写作仓库内创建 layouts/partials/math.html 文件，写入以下内容：
```




    document.addEventListener(\&quot;DOMContentLoaded\&quot;, function() {
        renderMathInElement(document.body, {
          // cus ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Wed, 27 Dec 2023 15:11:29 +0000</pubDate>
    </item>
    <item>
      <title>时间造成的 Hugo 页面无法渲染问题</title>
      <link>https://www.mculoop.com/thread-77-1-1.html</link>
      <description><![CDATA[[md]
使用 Hugo 写博客，凌晨发布文章的时候总发不出来，什么原因呢？难道半夜见鬼了？ 

```
---
title: 文章标题
date: \&quot;2023-12-27\&quot;
draft: false
---
```

Hugo 默认采用的是 UTC，比北京时间 (UTC+8) 晚了 8 个小时。hugo 命令在生成静态页面的时候，默认不会生成 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Wed, 27 Dec 2023 10:07:15 +0000</pubDate>
    </item>
    <item>
      <title>Nginx 的 root 与 alias 的区别</title>
      <link>https://www.mculoop.com/thread-76-1-1.html</link>
      <description><![CDATA[[md]

Nginx 指定文件路径有两种方式 root 和 alias，指令的使用方法和作用域：

**root**

语法：root path

配置段：http、server、location、if

**alias**

语法：alias path

配置段：location

alias 是一个目录别名的定义，root 则是根目录（父目录）的定义。关 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Mon, 25 Dec 2023 16:23:38 +0000</pubDate>
    </item>
    <item>
      <title>Chrome 报错：ERR_UNSAFE_PORT</title>
      <link>https://www.mculoop.com/thread-71-1-1.html</link>
      <description><![CDATA[[md]

## 问题

在使用一个自定义端口 6000 提供网络服务时，总是无法访问。一开始没有留意具体的报错信息，觉得是不是服务程序没有打开端口，是不是路由器没有映射端口，是不是防火墙屏蔽了端口……，直到看到一行小字：`ERR_UNSAFE_PORT`

![image-20221117120547744] ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Mon, 25 Dec 2023 16:19:55 +0000</pubDate>
    </item>
    <item>
      <title>安装 Composer</title>
      <link>https://www.mculoop.com/thread-59-1-1.html</link>
      <description><![CDATA[[md]

![](https://file.mculoop.com/images/2021/12/9d3de2533b6f5661.png)

Composer 是 PHP 用来管理依赖（dependency）关系的工具。你可以在自己的项目中声明所依赖的外部工具库（libraries），Composer 会帮你安装这些依赖的库文件。类似于 Centos 的 yum、Ubuntu  ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Mon, 25 Dec 2023 16:06:08 +0000</pubDate>
    </item>
    <item>
      <title>Nginx 报错：client intended to send too large body</title>
      <link>https://www.mculoop.com/thread-58-1-1.html</link>
      <description><![CDATA[[md]
## 错误日志

&gt; [error] 177205#177205: *12060 client intended to send too large body:

## 原因
Nginx 配置中设置的最大文件大小过小，或者没有设置。





## 解决方法

修改 nginx.conf:
```
sendfile on;
client_max_body_size 20M; # MB
keepalive_timeout ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Mon, 25 Dec 2023 16:05:34 +0000</pubDate>
    </item>
    <item>
      <title>使 DiscuzX 3.4 论坛支持代码高亮的改造方法</title>
      <link>https://www.mculoop.com/thread-55-1-1.html</link>
      <description><![CDATA[[md]

这里使用了 highlight.js，它的特点：

- 支持 196 种语言，242 种样式（绝大多数用不上）
- 自动语言探测（正确率似乎一般）
- 支持使用任意 HTML 标记
- 兼容任意 js 框架

只需要知道它足够牛就OK了。

可以通过 CDN 加速服务器引用：

```html


```

如果需 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Mon, 25 Dec 2023 16:02:52 +0000</pubDate>
    </item>
    <item>
      <title>Web 前端框架 Bootstrap</title>
      <link>https://www.mculoop.com/thread-28-1-1.html</link>
      <description><![CDATA[[md]

## 简介

Bootstrap 是由 Twitter 设计师 Mark Otto 和 Jacob Thornton 合作开发的 Web 前端开发框架。它提供了很多前端开发中常用的 CSS 和 Javascript 功能。这使得在前端开发中不需要再那么在意 div 等 HTML 元素的宽度、高度等细节，使得开发过程变更加轻而 ...]]></description>
      <category>Web</category>
      <author>阡陌</author>
      <pubDate>Mon, 18 Dec 2023 17:34:35 +0000</pubDate>
    </item>
  </channel>
</rss>