mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
sulu: added nginx conf via uci-default script
This commit is contained in:
parent
52b4f37130
commit
b2ac4d3a46
2 changed files with 11 additions and 3 deletions
|
|
@ -5,11 +5,11 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sulu
|
||||
PKG_VERSION:=0.2.3
|
||||
PKG_VERSION:=0.2.4
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/sulu.git
|
||||
PKG_SOURCE_VERSION:=5f9c2ffb64a4cc46ffee59b6bbfafdaa26a7ab4f
|
||||
PKG_SOURCE_VERSION:=14841eb411868086fcbbdaba052df608dfa3209e
|
||||
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
|
|
@ -18,7 +18,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
|
|||
|
||||
PKG_RELEASE=$(PKG_VERSION)-$(PKG_SOURCE_VERSION)
|
||||
|
||||
PKG_LICENSE:=GPLv2
|
||||
PKG_LICENSE:=PROPRIETARY IOPSYS
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
|
|
|||
8
sulu/files/etc/uci-defaults/90-sulu-set-nginx-conf
Normal file
8
sulu/files/etc/uci-defaults/90-sulu-set-nginx-conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
uci -q set nginx._sulu=server
|
||||
uci -q add_list nginx._sulu.listen='8080'
|
||||
uci -q add_list nginx._sulu.listen='[::]:8080'
|
||||
uci -q set nginx._sulu.root='/sulu'
|
||||
uci -q set nginx._sulu.server_name='_lan_sulu'
|
||||
uci -q add_list nginx._sulu.include='restrict_locally'
|
||||
uci -q add_list nginx._sulu.include='conf.d/*.locations'
|
||||
uci -q set nginx._sulu.access_log='off; # logd openwrt'
|
||||
Loading…
Add table
Reference in a new issue