mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 08:53:56 +08:00
🌴 Sync 2026-06-16 03:50:57
This commit is contained in:
1 parent
94ac400e67
commit
4724eea00c
5 files changed
+27
-48
No files matched your search
@@ -12,7 +12,6 @@ EOF
|
||||
|
||||
rm -rf /tmp/luci-*
|
||||
if [ -n "$(command -v nginx)" ];then
|
||||
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;
|
||||
@@ -28,7 +27,6 @@ location /spectra/ {
|
||||
}
|
||||
EOF
|
||||
/etc/init.d/nginx restart
|
||||
fi
|
||||
elif [ -n "$(command -v lighttpd)" ];then
|
||||
cat << 'EOF' > /etc/lighttpd/conf.d/81-php.conf
|
||||
cgi.assign += ( ".php" => "/usr/bin/php-cgi" )
|
||||
|
||||
Reference in new issue
Block a user