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

Subdirectory support #9

Closed
rix1337 opened this issue Jan 3, 2017 · 12 comments
Closed

Subdirectory support #9

rix1337 opened this issue Jan 3, 2017 · 12 comments

Comments

@rix1337
Copy link
Sponsor Contributor

rix1337 commented Jan 3, 2017

Thanks for the quick updates. This is by far the most beautiful and well designed webserver dash!

The hardlinks work perfectly fine on myserv.er/organizr using Google Chrome. A friend of mine (=tester) uses Firefox and strangely enough there the links are not working. Double checking Edge, its also not working there.

I tried modifying the links myself, but couldn't fix it.

http://i.imgur.com/oNB6Ppd.png

@causefx
Copy link
Owner

causefx commented Jan 3, 2017

so how do you have this setup on your end?

@causefx
Copy link
Owner

causefx commented Jan 3, 2017

I'll look into adding in the url option for next release.

@rix1337
Copy link
Sponsor Contributor Author

rix1337 commented Jan 3, 2017

Thank you.

I am no expert at webserver setups, but am using nginx (using the awesome https://hub.docker.com/r/linuxserver/letsencrypt/ container).

This includes a free ssl cert (auto-renewing) and fail2ban, which blocks bad ips and failed httpauth.

Organizr is behind this nginx at /organizr.

@causefx
Copy link
Owner

causefx commented Jan 3, 2017

Is there a reason u didn't put it in var/www/ ?

@rix1337
Copy link
Sponsor Contributor Author

rix1337 commented Jan 3, 2017

i am running plex from /

This config works on all Chrome/Firefox/Edge with the subdir. I lack the php skills to make it dynamic, but basically the stylesheets/scripts and the settings.php link need to be switched from hardlinks:
https://gist.github.com/rix1337/323266585b982c95852a531e87764f3b

Here is my nginx config if you are interested in the setup:
https://gist.github.com/rix1337/a11bbb32c5313479557dc4eae2ad7f26

@causefx
Copy link
Owner

causefx commented Jan 3, 2017

I would move the root directory to be organizr and then move Plex to /plex. That would be easier. Regardless I'll still make the URL base.

@rix1337
Copy link
Sponsor Contributor Author

rix1337 commented Jan 3, 2017

Makes sense. I'll try this out. Since organizr works so well, that's probably the best option.

Still, I guess dynamic base url is a must-have feature for Web apps.

@causefx
Copy link
Owner

causefx commented Jan 3, 2017

yup yup. it's on my list :)

@rix1337
Copy link
Sponsor Contributor Author

rix1337 commented Jan 3, 2017

Just an update. Organizr now runs at my webserver root.

Thanks for making different pages for guests/users possible.

My guests (default users) will still see plex, and organizr menu for plexrequests and paypal.me

My account defaults to plexpy if logged in. This is amazing!

@causefx
Copy link
Owner

causefx commented Jan 3, 2017

Awesome! I'm glad it's working out for you :)

@causefx
Copy link
Owner

causefx commented Jan 15, 2017

After thinking about this, i'm not sure about implementing this. I'll keep it on the back of my mind though.

@cryptiklemur
Copy link

Would love to see this get added still

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

No branches or pull requests

3 participants