From 3ff712d4077f229f7e2aff4571424185e7f319aa Mon Sep 17 00:00:00 2001 From: Deepzz Date: Tue, 25 Jul 2017 09:22:08 +0800 Subject: [PATCH] Update eiblog.conf --- conf/nginx/domain/eiblog.conf | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/conf/nginx/domain/eiblog.conf b/conf/nginx/domain/eiblog.conf index d9b7044..c75a7fc 100644 --- a/conf/nginx/domain/eiblog.conf +++ b/conf/nginx/domain/eiblog.conf @@ -65,28 +65,6 @@ server { expires 1d; } - # imququ 的上传文件相关,未用到 - location ^~ /static/uploads/ { - root /home/jerry/www/imququ.com/www; - add_header Access-Control-Allow-Origin *; - - set $expires_time max; - - valid_referers blocked none server_names *.qgy18.com *.inoreader.com feedly.com *.feedly.com www.udpwork.com theoldreader.com digg.com *.feiworks.com *.newszeit.com r.mail.qq.com yuedu.163.com *.w3ctech.com; - if ($invalid_referer) { - set $expires_time -1; - return 403; - } - - expires $expires_time; - } - - location ^~ /static/ { - root /data/eiblog; - add_header Access-Control-Allow-Origin *; - expires max; - } - location ^~ /admin/ { proxy_http_version 1.1;