-
Notifications
You must be signed in to change notification settings - Fork 972
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
nginx is not working #335
Comments
must install Apache???? |
I was able to get the front-end working without Apache using this conf: server { location ~ .php$ { location = /index.php { location /bootstrap { location /js { location /css { location /img { location /page { location /videoOnly { location /audioOnly { location = /download { location = /downloadNow { location = /getDownloadProgress { location = /status { location = /about { location = /contact { location = /sendEmail { location = /captcha { location /monitor { location = /videosList { location /videosList { location /cat { location /video { location /videoEmbeded { location /plugin { location = /upload { location = /fileUpload { location /uploadPoster { location = /user { location = /users { location = /users.json { location = /updateUser { location = /savePhoto { location = /saveBackground { location = /addNewUser { location = /deleteUser { location = /recoverPass { location = /saveRecoverPassword { location = /signUp { location = /createUser { location = /usersGroups { location = /usersGroups.json { location = /addNewUserGroups { location = /deleteUserGroups { location = /ads { location = /addNewAd { location = /ads.json { location = /deleteVideoAd { location /adClickLo { location = /categories { location = /categories.json { location = /addNewCategory { location = /deleteCategory { location = /plugins { location = /plugins.json { location = /pluginsAvailable.json { location = /pluginImport.json { location = /switchPlugin { location = /addDataObjectPlugin.json { location = /runDBScriptPlugin.json { location = /playLists.json { location = /playListsVideos.json { location /playListsFromUser { location = /addNewPlayList { location = /playListAddVideo.json { location /playlist { location /removeVideoFromPlaylist { location /removePlaylist { location /renamePlaylist { location /sortPlaylist { location /channel { location = /orphanFiles { location = /mvideos { location = /videos.json { location = /videosAndroid.json { location = /videoAndroid.json { location = /deleteVideo { location = /addNewVideo { location = /refreshVideo { location = /setStatusVideo { location = /setCategoryVideo { location = /reencodeVideo { location = /rotateVideo { location = /addViewCountVideo { location = /subscribes { location = /subscribes.json { location = /subscribe.json { location = /notifySubscribers.json { location = /youPHPTubeQueueEncoder.json { location = /youPHPTubeEncoder.json { location = /comments { location = /saveComment { location /comments { location = /login { location = /logoff { location = /like { location = /dislike { location /update { location = /siteConfigurations { location = /updateConfig { location = /charts { location = /youtubeUpload { location = /googleAdView { location = /notifications.json { } |
This is great thanks |
@DanielnetoDotCom How would I implement the conf @patriclougheed posted with the stream server nginx.conf? |
@DanielnetoDotCom Don't be too quick to use the nginx settings. I managed to get it working on my test server, but I'm getting this error. So the nginx.conf settings are not perfect....yet.... |
@nightstryke I have never install it on NGINX, but take a look on that: #25 |
@DanielnetoDotCom yeah i tried the config in #25 It did not work kept giving me an error 502 |
@nightstryke I have never tried to install on NGINX, the only reference I had was users that could install it. |
You should really get a real router instead of this monstrosity, that would help with both Apache (in performance) and Nginx (so that you don't need a monstrous site config). Then it shouldn't be too hard to support nginx as well. |
Agree with you, I was thinking to change this, I just dont have a chance yet |
Really all you really need to do is convert all those rewrite rules into PHP and |
I know, but it is not that simple, certainly it will need to change filenames |
hello, i am working on implement a php-router. according to the docs, it would be quite easy for 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: 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.. |
there's a documentation + the php-router now, so this should be done. https://github.com/DanielnetoDotCom/YouPHPTube/wiki/Admin-manual if it's not, feel free to reopen this issue or #691 |
No description provided.
The text was updated successfully, but these errors were encountered: