1
0
Fork 0

Compare commits

...

3 Commits

4 changed files with 6 additions and 5 deletions

View File

@ -5,7 +5,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir}
SYSDDIR=${SYSDDIR_:/%=%}
DESTDIR=/
VERSION=23.31.0
VERSION=23.31.1
FLAGS=-trimpath -mod=readonly -modcacherw
LDFLAGS=-ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo

View File

@ -1,6 +1,6 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=dwelling-upload
pkgver=23.31.0
pkgver=23.31.1
pkgrel=1
pkgdesc="Arav's Dwelling / Upload"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')

View File

@ -3,7 +3,8 @@ server {
listen 8094; # Tor I2P
listen [300:a98d:d6d0:8a08::c]:80; # Yggdrasil
server_name upload.arav.su upload.arav.i2p;
server_name upload.arav.su upload.arav.i2p 4usftbmjpfexkr2x5xbp5ukmygpmg4fgrnx2wbifsexqctooz5hmviyd.onion;
access_log /var/log/nginx/dwelling/upload.log main if=$nolog;
ssl_certificate /etc/letsencrypt/live/arav.su/fullchain.pem;

View File

@ -7,8 +7,8 @@ Type=simple
Restart=on-failure
User=dwupload
Group=dwupload
ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock -dir /srv/upload \
-expiry 36 -storage 102400 -file 128
ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock \
-dir /srv/upload -expiry 36 -storage 102400 -file 128
ReadOnlyPaths=/
# Set here path to directory where uploads are stored.