This website works better with JavaScript.
首頁
說明
登入
hms
/
rasoberry-noaa
镜像来自
https://github.com/reynico/raspberry-noaa.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
8
Wiki
Activity
瀏覽代碼
add a nginx rule to rewrite the old yyyy/mm/dd paths to the new /images/ path
tags/1.5
Nico Rey
4 年之前
父節點
cec3632ccb
當前提交
d235875b72
共有
1 個文件被更改
,包括
3 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
templates/nginx.cfg
+ 3
- 0
templates/nginx.cfg
查看文件
@@ -14,4 +14,7 @@ server {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
# Rewrite the old path yyyy/mm/dd/ to /images/
rewrite "^/image/\d{4}/\d{2}/\d{2}/(.+)$" /images/$1 permanent
}
Write
Preview
Loading…
取消
儲存