mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 10:31:38 +08:00
⛄ Sync 2026-03-22 00:24:43
This commit is contained in:
parent
8f41953854
commit
9116dbf1c4
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_MAINTAINER:=Thaolga <https://github.com/Thaolga/luci-app-nekobox>
|
||||
PKG_NAME:=luci-app-nekobox
|
||||
PKG_VERSION:=2.0.9
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
||||
@ -12,6 +12,7 @@ files_check() {
|
||||
if [ -n "$(command -v nginx)" ];then
|
||||
cat << 'EOF' > /etc/nginx/conf.d/nekobox.locations
|
||||
location /nekobox {
|
||||
index index.php index.html index.htm;
|
||||
location ~ \.php$ {
|
||||
if (!-f $request_filename) {
|
||||
return 404;
|
||||
|
||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
LUCI_TITLE:=Spectra Theme
|
||||
LUCI_DEPENDS:=+curl +php8 +php8-cgi +php8-fpm +php8-mod-curl +php8-mod-zip +php8-mod-mbstring +ffmpeg
|
||||
PKG_VERSION:=27.574.74123~9e4b7f2
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
LUCI_MINIFY_CSS:=0
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ EOF
|
||||
if [ ! -f /etc/nginx/conf.d/spectra.locations ]; then
|
||||
cat << 'EOF' > /etc/nginx/conf.d/spectra.locations
|
||||
location /spectra/ {
|
||||
index index.php index.html index.htm;
|
||||
location ~ \.php$ {
|
||||
if (!-f $request_filename) {
|
||||
return 404;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user