Comments (21)
or try this if it doesnt work:
location /web {
proxy_pass http://localhost:32400;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /plex {
proxy_pass http://localhost/web;
}
from organizr.
Duplicate of #20 ?
from organizr.
I don't see what this has to do with proxies. I'd say it's more of a bug, too, since Organizr can resolve external URLs just fine.
from organizr.
Sounded like you were trying to access localhost outside your network ;)
Are you trying to access organizr through https?
from organizr.
Also append /web to your plex url!
from organizr.
I'm sorry, you are right, i am trying to access localhost outside the server network.
I didn't realize proxy functionality is necessary to make that work.
I figured since organizr is running locally on the server it should be able to access the running web services there and present them to me without any need for proxying.
from organizr.
Are you using apache or nginx?
from organizr.
nginx
from organizr.
You create a location block to reverse proxy your Plex app.
from organizr.
Can you give an example?
I already reverse proxy all apps, e.g. proxy_pass http://localhost:32400
from organizr.
same way as those.
location /plex { proxy_pass http://localhost:32400; }
location /web { proxy_pass http://localhost:32400/web; }
from organizr.
Thank you for the reply, I have tried it and i'm not sure it is the best way to approach this.
For one thing, i have more than 10 services I'd like to put into Organizr and basically none of them work as sublocations unless you figure out the correct url rewrites for each one and/or reconfigure the service to adjust the base URL.
Another reason is that i don't really want to expose those services as sublocations because i prefer subdomains. In my experience, services work much better on a separate subdomain.
from organizr.
that's entirely up to you. unless you reverse proxy them, subdomain them or open up the ports that is the only way you will access them. I have all my services through reverse proxies and have them all secured using their own securities. I have all of them in Organizr fine.
from organizr.
That's interesting. Do you use nginx? If so, would you mind sharing your sublocation configuration for these services?
from organizr.
yea, sorry man just got home.
location /tv {
proxy_pass http://usenet.home.lab:8989;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /movie {
proxy_pass https://usenet.home.lab:5050;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /nzbget {
proxy_pass https://usenet.home.lab:6789;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /request {
proxy_pass http://usenet.home.lab:3579;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /plexpy {
proxy_pass https://plex.home.lab:8181;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on;
}
location /vpn {
proxy_pass https://dns.home.lab:1194;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /unifi {
proxy_pass https://unifi.home.lab:8443;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /nzbhydra {
proxy_pass http://usenet.home.lab:5075/nzbhydra/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /music {
proxy_pass https://usenet.home.lab:8181;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
from organizr.
closing as this is a duplicate. hope that conf helps you, if not hit me up and i'll help you.
from organizr.
Hey, sorry for opening up this, but is there any chance you could tell me where to put these settings when I'm running a container version of Organizr? Can't seem to find the config file anywhere.
Using this image if it helps: https://hub.docker.com/r/lsioarmhf/organizr/
Edit: Nvm, I found it inside config/nginx/default but none of the solutions from above seem to be working :/
from organizr.
@causefx: first off I love the idea of Organizr, but I am having trouble setting it up. I got it installed but each tab does not connect to it's respective service/app. I've read that localhost:port urls won't work and that reverse proxies are needed, but I can't seem to get them setup correctly. I feel like I am really close, but missing something. Any help you provide would be greatly appreciated.
Also, sorry if this is in the wrong place. I am new to GitHub and Don't see a direct message option.
from organizr.
if you join our discord server we can help out.... i will be available tomorrow morning to help if needed :)
from organizr.
from organizr.
from organizr.
Related Issues (20)
- [Feature Request] Require 2FA from users HOT 1
- Google Authenticator disabling HOT 6
- Login Loop, no reverse proxy or other additions. HOT 10
- Calender not scaling on mobile HOT 5
- [Question] Organizr hardware accelerated Android TV app? HOT 2
- Dependencies Missing FILEINFO & MBSTRING HOT 30
- Organizr Vulnerabilities
- Plex Oauth Login not working HOT 4
- Donation arrows doesn't change price HOT 4
- Upgrading from 2.1.1690 to Latest Version HOT 2
- "Slim Application Error" after starting the Docker container HOT 10
- Calendar Item's backdrop images are missing HOT 4
- Feature suggestion: Import tabs from CSV HOT 2
- Unable to get docker install to recognise that I'm outside of local network. HOT 9
- allow changing iframe name HOT 1
- Unable to use Nextcloud Talk in an iframe because of allow attributes HOT 4
- 502 Bad Gateway HOT 1
- Lidarr settings for Self Signed Certficate are ignored. HOT 1
- Test Contributors HOT 13
- Both qBittorrent Complete and Seeding show up even though set to hide. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from organizr.