文章推荐

nginx配置代理端口范围

24-09-23 09:55 曹大卫 [nginx]

```shellserver{listen16000-16010udpreuseport;proxy_connect_tim...
阅读全文

nginx配置指定ip访问

24-09-23 09:54 曹大卫 [nginx]

```shelllocation/{allow184.23.21.1;denyall;proxy_passhttp://19...
阅读全文

nginx配置日志切割

24-09-23 09:54 曹大卫 [nginx]

```shellmap$time_iso8601$logdate{'~^(?\d{4}-\d{2}-\d{2})'$ymd;...
阅读全文

nginx代理支持websocket

24-09-23 09:53 曹大卫 [nginx]

```shell```bashhttp{#...其他配置...#配置WebSocket代理location/websocke...
阅读全文

nginx开启gzip压缩

24-09-23 09:52 曹大卫 [nginx]

```shellhttp{gzipon;#开启gzip压缩gzip_disable"msie6";#禁止对IE6及更低版本的...
阅读全文

nginx配置跨域

24-09-23 09:51 曹大卫 [nginx]

```shellhttp{location/{add_headerAccess-Control-Allow-Headers*...
阅读全文

nginx配置http强跳https

24-09-23 09:50 曹大卫 [nginx]

```shellserver{listen80;server_nametest.com;location/{###转发rew...
阅读全文

nginx主配置文件

24-09-23 09:48 曹大卫 [nginx]

```shell###主配置文件userwwwwww;worker_processesauto;worker_cpu_aff...
阅读全文

mysql建库,用户,赋权语句

24-09-23 09:41 曹大卫 [mysql]

```shell1、建库createdatabase`test`defaultcharactersetutf8mb4coll...
阅读全文

mysql删除表并释放磁盘空间

24-09-23 09:39 曹大卫 [mysql]

```shell1、TRUNCATE会直接删除表数据并释放磁盘空间,并且会重置表自增主键TRUNCATETABLEtable...
阅读全文
顶部 底部