小编Chr*_*Kee的帖子

如何在 NGINX 中添加 Access-Control-Allow-Origin?

如何设置 Access-Control-Allow-Origin 标头,以便我可以在主域上使用子域中的网络字体?


笔记:

您将在 HTML5BP 服务器配置项目https://github.com/h5bp/server-configs 中找到大多数 HTTP 服务器的此标头和其他标头的示例

nginx cors

205
推荐指数
6
解决办法
60万
查看次数

为小型 VPS 优化 MySQL

我正在尝试为一个小型 VPS 优化我的 MySQL 配置。VPS 还运行 NGINX/PHP-FPM 和 Magento;所有这些都限制为 250MB 的 RAM。

这是 MySQL Tuner 的输出...

-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.1.41-3ubuntu12.8
[OK] Operating on 64-bit architecture

-------- Storage Engine Statistics -------------------------------------------
[--] Status: -Archive -BDB -Federated +InnoDB -ISAM -NDBCluster 
[--] Data in MyISAM tables: 1M (Tables: 14)
[--] Data in InnoDB tables: 29M (Tables: 301)
[--] Data in MEMORY tables: 1M (Tables: 17)
[!!] Total fragmented tables: …
Run Code Online (Sandbox Code Playgroud)

mysql optimization cache magento

5
推荐指数
1
解决办法
4354
查看次数

标签 统计

cache ×1

cors ×1

magento ×1

mysql ×1

nginx ×1

optimization ×1