Avideo: Has anyone got YouPHPTube and YouPHPTube-Encoder to run on Nginx?

Created on 15 May 2018  路  11Comments  路  Source: WWBN/AVideo

I get stuck on the AllowOverride None to AllowOverride All but this does not apply to Nginx?

Most helpful comment

Small update... I solved the 500 errors I received from some of the plugins by removing the plugin rewrite:

location /plugin {
rewrite ^/plugin/([A-Za-z0-9-_.]+)/(.*)?$ /plugin/$1/$2;
}

NginX handles this internally just fine.

I have created Gists for these now and welcome input:

Streamer Conf

Encoder Conf

All 11 comments

AllowOverride is an apache parameter.

there are some Nginx help on the issues here, try to search it.

I have the encoder and streaming site working together with nginx. Attached is my conf for the encoder.
encoder.txt

Thanks @patriclougheed

Thanks can you share the streamer conf?

Sure... I have worked out most issues but a few plugins are giving me 500 errors. Will be upgrading this further once I get around to compiling nginx with mp4 and rtmp support.

streamer.txt

Thanks again!

Small update... I solved the 500 errors I received from some of the plugins by removing the plugin rewrite:

location /plugin {
rewrite ^/plugin/([A-Za-z0-9-_.]+)/(.*)?$ /plugin/$1/$2;
}

NginX handles this internally just fine.

I have created Gists for these now and welcome input:

Streamer Conf

Encoder Conf

That is great :)

hello, i am working on implement a php-router.

according to the docs, it would be quite easy for nginx:
https://github.com/skipperbent/simple-php-router#setting-up-nginx

because this needed a lot of editing, proper testing would be nice. at the moment, i know nothing, that does not work, but i am far away from testing everything.

anyone who would like to join testing can find the source here:
https://github.com/DanielnetoDotCom/YouPHPTube/tree/php-router

there is also a live-demo with the new code (on apache!), if you would like to test, but not waste time in install it. just say the username here and you will get admin after i see it..
https://rewrite.codebea.ch/

the php-router is in the official branch for a while. also, i have documented the nginx-setup here:

https://github.com/DanielnetoDotCom/YouPHPTube/wiki/Admin-manual

in the install-section. if someone like to test the router with nginx, that still would be great, but there is another solution anyway now. reopen if you feel it's needed.

I tried to follow the instructions to use a storage other than the default one by moving the videos folder out of the / var / www / html / AVideo folder and replacing a symbolic link pointing to the videos folder but the graphic layout is unreadable with problems by css

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KazeroG picture KazeroG  路  4Comments

akhilleusuggo picture akhilleusuggo  路  3Comments

mikweb2017 picture mikweb2017  路  4Comments

hrt644 picture hrt644  路  3Comments

snowdream1985 picture snowdream1985  路  3Comments