Browse Source

misc networking crap

master
Alison Watson 5 months ago
parent
commit
82f520c110
2 changed files with 35 additions and 2 deletions
  1. +11
    -0
      network/mpd.conf
  2. +24
    -2
      network/nginx.conf

+ 11
- 0
network/mpd.conf View File

@@ -22,3 +22,14 @@ audio_output {

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"
}

+ 24
- 2
network/nginx.conf View File

@@ -1,9 +1,22 @@
load_module /usr/local/lib/ngx_rtmp_module.so;
worker_processes 1;

events {
worker_connections 1024;
}

rtmp {
server {
listen 1935;
chunk_size 4096;

application live {
live on;
record off;
}
}
}

http {
disable_symlinks off;

@@ -21,16 +34,25 @@ http {
server {
listen 80;
server_name heavenisin.space;
index index.html index.htm;
index index.html;

include common.conf;
root /var/www/pub_http/;
root /var/www/heavenisin.space/;

location /temp {
alias /tmp/hosting/;
}
}

server {
listen 80;
server_name bussyslayer69.gay;
index index.html;

include common.conf;
root /var/www/bussyslayer69.gay/;
}

server {
listen 81;
listen [::]:81;


Loading…
Cancel
Save