misc networking crap
parent
a93fb36c10
commit
82f520c110
|
@ -22,3 +22,14 @@ audio_output {
|
||||||
|
|
||||||
path "~/.config/mpd/fifo"
|
path "~/.config/mpd/fifo"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "httpd"
|
||||||
|
name "mpdhttpd"
|
||||||
|
encoder "opus"
|
||||||
|
port "8069"
|
||||||
|
quality "5.0"
|
||||||
|
format "44100:16:1"
|
||||||
|
always_on "yes"
|
||||||
|
tags "yes"
|
||||||
|
}
|
||||||
|
|
|
@ -1,9 +1,22 @@
|
||||||
|
load_module /usr/local/lib/ngx_rtmp_module.so;
|
||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rtmp {
|
||||||
|
server {
|
||||||
|
listen 1935;
|
||||||
|
chunk_size 4096;
|
||||||
|
|
||||||
|
application live {
|
||||||
|
live on;
|
||||||
|
record off;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
disable_symlinks off;
|
disable_symlinks off;
|
||||||
|
|
||||||
|
@ -21,16 +34,25 @@ http {
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name heavenisin.space;
|
server_name heavenisin.space;
|
||||||
index index.html index.htm;
|
index index.html;
|
||||||
|
|
||||||
include common.conf;
|
include common.conf;
|
||||||
root /var/www/pub_http/;
|
root /var/www/heavenisin.space/;
|
||||||
|
|
||||||
location /temp {
|
location /temp {
|
||||||
alias /tmp/hosting/;
|
alias /tmp/hosting/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name bussyslayer69.gay;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
|
include common.conf;
|
||||||
|
root /var/www/bussyslayer69.gay/;
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 81;
|
listen 81;
|
||||||
listen [::]:81;
|
listen [::]:81;
|
||||||
|
|
Loading…
Reference in New Issue