Follow FHS for nginx and it's modules

This commit is contained in:
Alex D. 2020-12-29 19:37:53 +00:00
parent 618b1416ca
commit 37822420b4
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
5 changed files with 14 additions and 14 deletions

View File

@ -1,7 +1,7 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-nginx
pkgver=2020.12.19
pkgver=2020.12.29
pkgrel=0
pkgdesc="NGINX configuration"
url="https://git.redxen.eu/RedXen"
@ -43,5 +43,5 @@ check() {
sha512sums="a24873ff4a79c27ae15bcd09c6667aecb1f8c657759ba2914ace780bd5c68822d175637c87001c375e4460b941b0d3c3b07abf13a114fb057983e07b0b501eae main.conf
abba14b4ed423455d9a6993b48f44c3464e37dc6a05119b3084d0519bbc62c7551cee721c25f0543b67ed80425c71dbe0ef5d3f8c9436faf7706d6d18414b149 seedbox.conf
0f378efcd72933ee0c44be2e2e150ad49e5019df1fb06485aa31f0690530932dff68876678dbfa5b1757f23d14d9ee779cfd0f16eadf7fb17881fa26d987738c alpine.conf
c35ffedd042aba924e02ba028dd84449c091352abfe7ea0f69f3031ee8ba0dc62498a42cab6c3e9bfd60205f4efe7d09537933095f966c7d4e139cd94d5022aa homepage.conf"
44c48417f10047ecec4313b2d6b5056ff69e585d29044288c50e876683b012a1d204b66c529a53d21f5b0910066656151b3f05dbcde48f4132a983b4a0619bf5 alpine.conf
0b5e7a0bb935ee0aa20c72ab1e7eb4ff4dcce22564fb7b354d28574e15e23bc7661414936d23be47afc9d465f44b3e2a55f14f1bb14d009286196e8615c6f729 homepage.conf"

View File

@ -1,5 +1,5 @@
location /alpine {
root /alpine-packages;
root /var/lib/alpine-packages;
autoindex on;
auth_basic "RedXen Alpine Package Archive";
auth_basic_user_file /etc/nginx/httpauth-alpine;

View File

@ -1,5 +1,5 @@
location / {
root /http;
root /usr/share/redxen/homepage;
autoindex on;
limit_except GET HEAD {
deny all;

View File

@ -1,8 +1,8 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-data-cherry-gmod
pkgver=2020.12.19
pkgrel=1
pkgver=2020.12.29
pkgrel=0
_commit="ae7a7a01579178da91bb176e744d3d90d9b2e484"
pkgdesc="Cherry's loading screen files"
url="https://git.redxen.eu/IPTG/GMOD-Loadscreen"
@ -21,9 +21,9 @@ build() {
}
package() {
mkdir -p "$pkgdir"/http/pub
mv "$builddir" "$pkgdir"/http/pub/cherry
chown -Rv root:www-data "$pkgdir"/http
mkdir -p "$pkgdir"/usr/share/redxen/homepage/pub
mv "$builddir" "$pkgdir"/usr/share/redxen/homepage/pub/cherry
chown -Rv root:www-data "$pkgdir"/usr/share/redxen/homepage
}

View File

@ -1,7 +1,7 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-data-homepage
pkgver=2020.12.19
pkgver=2020.12.29
pkgrel=0
_commit="ccffc104aeb298b8192b6d3174d4f8d9cccd3f3c"
pkgdesc="Homepage files"
@ -20,9 +20,9 @@ build() {
}
package() {
mkdir -p "$pkgdir"
mv "$builddir" "$pkgdir"/http
chown -Rv root:www-data "$pkgdir"/http
mkdir -p "$pkgdir"/usr/share/redxen
mv "$builddir" "$pkgdir"/usr/share/redxen/homepage
chown -Rv root:www-data "$pkgdir"/usr/share/redxen/homepage
}