Change arav.top to arav.su.
This commit is contained in:
parent
edfcb9526b
commit
83cdc222c7
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2022 Alexander "Arav" Andreev <me@arav.top>
|
Copyright (c) 2022,2023 Alexander "Arav" Andreev <me@arav.su>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
|
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
||||||
pkgname=dwelling-radio
|
pkgname=dwelling-radio
|
||||||
pkgver=23.7.0
|
pkgver=23.7.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Arav's dwelling / Radio"
|
pkgdesc="Arav's dwelling / Radio"
|
||||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||||
url="https://git.arav.top/Arav/dwelling-radio"
|
url="https://git.arav.su/Arav/dwelling-radio"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
groups=()
|
groups=()
|
||||||
depends=()
|
depends=()
|
||||||
@ -15,7 +15,7 @@ replaces=()
|
|||||||
backup=('etc/dwelling/radio.yaml' 'etc/dwelling/radio.vars.liq')
|
backup=('etc/dwelling/radio.yaml' 'etc/dwelling/radio.vars.liq')
|
||||||
options=()
|
options=()
|
||||||
install=
|
install=
|
||||||
source=('https://git.arav.top/Arav/dwelling-radio/archive/23.7.0.tar.gz')
|
source=('https://git.arav.su/Arav/dwelling-radio/archive/23.7.0.tar.gz')
|
||||||
noextract=()
|
noextract=()
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ func main() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if *showVersion {
|
if *showVersion {
|
||||||
fmt.Println("dwelling-radio ver.", version, "\nCopyright (c) 2022,2023 Alexander \"Arav\" Andreev <me@arav.top>")
|
fmt.Println("dwelling-radio ver.", version, "\nCopyright (c) 2022,2023 Alexander \"Arav\" Andreev <me@arav.su>")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,12 +4,12 @@ server {
|
|||||||
listen 127.0.0.1:8111; # I2P
|
listen 127.0.0.1:8111; # I2P
|
||||||
listen [300:a98d:d6d0:8a08::e]:80; # Yggdrasil
|
listen [300:a98d:d6d0:8a08::e]:80; # Yggdrasil
|
||||||
|
|
||||||
server_name radio.arav.top radio.arav.i2p mkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion;
|
server_name radio.arav.su radio.arav.i2p mkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion;
|
||||||
|
|
||||||
access_log /var/log/nginx/dwelling/radio.log main if=$nolog;
|
access_log /var/log/nginx/dwelling/radio.log main if=$nolog;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/arav.top/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/arav.su/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/arav.top/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/arav.su/privkey.pem;
|
||||||
|
|
||||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; media-src 'self'; object-src 'none'; frame-src 'none'; frame-ancestors 'none'; font-src 'self'; form-action 'none'";
|
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; media-src 'self'; object-src 'none'; frame-src 'none'; frame-ancestors 'none'; font-src 'self'; form-action 'none'";
|
||||||
add_header X-Frame-Options "DENY";
|
add_header X-Frame-Options "DENY";
|
||||||
@ -40,7 +40,7 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 8000;
|
listen 8000;
|
||||||
|
|
||||||
server_name radio.arav.top;
|
server_name radio.arav.su;
|
||||||
|
|
||||||
access_log /var/log/nginx/dwelling/radio.http.log main if=$nolog;
|
access_log /var/log/nginx/dwelling/radio.http.log main if=$nolog;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
log_file_path = "/var/log/dwelling-radio/liquidsoap.log"
|
log_file_path = "/var/log/dwelling-radio/liquidsoap.log"
|
||||||
|
|
||||||
radio_url = "https://radio.arav.top"
|
radio_url = "https://radio.arav.su"
|
||||||
radio_name = "Arav's dwelling / Radio"
|
radio_name = "Arav's dwelling / Radio"
|
||||||
radio_desc = "Broadcasting from under my desk."
|
radio_desc = "Broadcasting from under my desk."
|
||||||
|
|
||||||
|
@ -95,8 +95,8 @@ func (h *Handlers) LastSong(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (h *Handlers) Playlist(w http.ResponseWriter, _ *http.Request) {
|
func (h *Handlers) Playlist(w http.ResponseWriter, _ *http.Request) {
|
||||||
w.Header().Add("Content-Disposition", "attachment; filename=\"radio.arav.top.m3u\"")
|
w.Header().Add("Content-Disposition", "attachment; filename=\"radio.arav.su.m3u\"")
|
||||||
fc, _ := web.AssetsGetFile("radio.arav.top.m3u")
|
fc, _ := web.AssetsGetFile("radio.arav.su.m3u")
|
||||||
w.Write(fc)
|
w.Write(fc)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ func MainSite(host string) string {
|
|||||||
return "http://[300:a98d:d6d0:8a08::f]"
|
return "http://[300:a98d:d6d0:8a08::f]"
|
||||||
}
|
}
|
||||||
|
|
||||||
return "https://arav.top"
|
return "https://arav.su"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToClientTimezone converts given time to timezone set in a
|
// ToClientTimezone converts given time to timezone set in a
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#EXTM3U
|
#EXTM3U
|
||||||
#EXTINF:-1,Arav's dwelling / Radio
|
#EXTINF:-1,Arav's dwelling / Radio
|
||||||
http://radio.arav.top:8000/stream.ogg
|
http://radio.arav.su:8000/stream.ogg
|
||||||
#EXTINF:-1,Arav's dwelling / Radio (HTTPS)
|
#EXTINF:-1,Arav's dwelling / Radio (HTTPS)
|
||||||
https://radio.arav.top/live/stream.ogg
|
https://radio.arav.su/live/stream.ogg
|
||||||
#EXTINF:-1,Arav's dwelling / Radio on Tor
|
#EXTINF:-1,Arav's dwelling / Radio on Tor
|
||||||
http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion/live/stream.ogg
|
http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion/live/stream.ogg
|
||||||
#EXTINF:-1,Arav's dwelling / Radio on I2P
|
#EXTINF:-1,Arav's dwelling / Radio on I2P
|
||||||
|
@ -27,7 +27,7 @@ html(lang='en')
|
|||||||
a(href='/filelist') filelist
|
a(href='/filelist') filelist
|
||||||
a(href='/playlist') playlist (.m3u)
|
a(href='/playlist') playlist (.m3u)
|
||||||
a(href='/live/stream.ogg') direct link
|
a(href='/live/stream.ogg') direct link
|
||||||
a(href='http://radio.arav.top:8000/stream.ogg') direct link (http)
|
a(href='http://radio.arav.su:8000/stream.ogg') direct link (http)
|
||||||
a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion/live/stream.ogg') direct link (Tor)
|
a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion/live/stream.ogg') direct link (Tor)
|
||||||
a(href='http://radio.arav.i2p/live/stream.ogg') direct link (I2P)
|
a(href='http://radio.arav.i2p/live/stream.ogg') direct link (I2P)
|
||||||
a(href="https://dir.xiph.org/search?q=arav's+dwelling") Xiph
|
a(href="https://dir.xiph.org/search?q=arav's+dwelling") Xiph
|
||||||
@ -60,4 +60,4 @@ html(lang='en')
|
|||||||
h2 Privacy statements
|
h2 Privacy statements
|
||||||
p Logs are collected and include access date and time, IP-address, User-Agent, referer URL, request. This website makes use of JavaScript to update a radio status and last 10 songs list.
|
p Logs are collected and include access date and time, IP-address, User-Agent, referer URL, request. This website makes use of JavaScript to update a radio status and last 10 songs list.
|
||||||
footer
|
footer
|
||||||
| 2017—2023 Arav <#[a(href='mailto:me@arav.top') me@arav.top]>
|
| 2017—2023 Arav <#[a(href='mailto:me@arav.su') me@arav.su]>
|
||||||
|
Loading…
Reference in New Issue
Block a user