Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has anyone got YouPHPTube and YouPHPTube-Encoder to run on Nginx? #691

Closed
afnieves opened this issue May 15, 2018 · 11 comments
Closed

Has anyone got YouPHPTube and YouPHPTube-Encoder to run on Nginx? #691

afnieves opened this issue May 15, 2018 · 11 comments

Comments

@afnieves
Copy link

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

@DanielnetoDotCom
Copy link
Member

AllowOverride is an apache parameter.

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

@patriclougheed
Copy link

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

@DanielnetoDotCom
Copy link
Member

Thanks @patriclougheed

@afnieves
Copy link
Author

Thanks can you share the streamer conf?

@patriclougheed
Copy link

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

@afnieves
Copy link
Author

Thanks again!

@patriclougheed
Copy link

patriclougheed commented Jun 1, 2018

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

@DanielnetoDotCom
Copy link
Member

That is great :)

@hersche
Copy link
Contributor

hersche commented Jun 7, 2018

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/

@hersche
Copy link
Contributor

hersche commented Jun 14, 2018

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.

@fa305757
Copy link

fa305757 commented Dec 9, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants