CBers 6882 Posted March 27, 2017 Share Posted March 27, 2017 Also found a bug with adding NzbGet to the home page, where the entry in the PORT field isn't saved. @elmerfdz is aware. This has now been fixed. Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 27, 2017 Share Posted March 27, 2017 (edited) so i got around to installing this. I already had NGINX so fairly straight forward for me. Most of my services work in iframe there are a few i needed to tweak my nginx config to get to work. Here's my Organizr Server Block, it forces a HTTPS connection with my own certs and domain name. works for IPv4 and IPv6 ## Organizr ## server { listen [::]:80; listen 80; listen [::]:443 ssl; listen 443 ssl; server_name organizr.mydomain.co.uk; server_name localhost; ssl_session_timeout 30m; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; ssl_certificate SSL/cert.pem; ssl_certificate_key SSL/private.key; ssl_session_cache shared:SSL:10m; if ($scheme = http) { return 301 https://$server_name$request_uri; } location / { root html; index index.php index.html index.htm; } location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME C:/nginxlion/html$fastcgi_script_name; ##My install directory is different than most## include fastcgi_params; } } Any services that failed to run in iframe i had to add this to the location blocks on the services. proxy_hide_header X-Frame-Options; example server { listen [::]:80; listen 80; listen [::]:443 ssl; listen 443 ssl; server_name random.mydomain.co.uk; ssl_session_timeout 30m; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; ssl_certificate SSL/cert.pem; ssl_certificate_key SSL/private.key; ssl_session_cache shared:SSL:10m; if ($scheme = http) { return 301 https://$server_name$request_uri; } location / { proxy_pass https://192.168.10.10:8443; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_hide_header X-Frame-Options; } } EDIT: changed the above Edited March 27, 2017 by Swynol 1 Link to comment Share on other sites More sharing options...
Tur0k 143 Posted March 27, 2017 Share Posted March 27, 2017 This looks cool Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 27, 2017 Share Posted March 27, 2017 Anyone figured a way to get Emby on the homepage rather than plex? Link to comment Share on other sites More sharing options...
CBers 6882 Posted March 27, 2017 Share Posted March 27, 2017 Anyone figured a way to get Emby on the homepage rather than plex? It's not implemented yet. @@causefx is working on it. 1 Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 28, 2017 Share Posted March 28, 2017 Some screenshots of my Organizr setup 1 Link to comment Share on other sites More sharing options...
CBers 6882 Posted March 28, 2017 Share Posted March 28, 2017 Some screenshots of my Organizr setup Nice. You know you can drag your HOME tab to the top in settings and make it the default tab to open, if you want to that is Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 28, 2017 Share Posted March 28, 2017 ye i prefer to have Emby my default. Maybe once Emby is integrated into the homepage I will re-think it. Link to comment Share on other sites More sharing options...
shorty1483 477 Posted March 29, 2017 Share Posted March 29, 2017 Is there a way to set the iframe tabs up if the different services like emby or sabnzbd have an own subdomain and server blocks e.g. emby.domain.com/nzb.domain.com? 1 Link to comment Share on other sites More sharing options...
CBers 6882 Posted March 29, 2017 Share Posted March 29, 2017 @@shorty1483 — perhaps ask @@causefx over on Gitter. 1 Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 29, 2017 Share Posted March 29, 2017 (edited) mine have their own server blocks with subdomains and all work in iframe so in organizr settings i have the tab point to https://emby.mydomain.com etc. emby.mydomain.com comes into my router on port 443 NGINX does its magic and all works. Edited March 29, 2017 by Swynol Link to comment Share on other sites More sharing options...
causefx 14 Posted March 29, 2017 Author Share Posted March 29, 2017 if anyone needs any help at all, we offer help in our subreddit or Gitter. 4 Link to comment Share on other sites More sharing options...
shorty1483 477 Posted March 30, 2017 Share Posted March 30, 2017 Dear nginx users, avoid this one in the server block: add_header X-Frame-Options "SAMEORIGIN" always; It will destroy iframe functionality since it suppresses iframe. Delete the line or use ALLOW-FROM <uri>; Link to comment Share on other sites More sharing options...
causefx 14 Posted March 30, 2017 Author Share Posted March 30, 2017 proxy_hide_header X-Frame-Options; You can also use this to hide the header. Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 30, 2017 Share Posted March 30, 2017 i use the hide header function for services that block iframe by default. see my post a bit further up for a sample server block Link to comment Share on other sites More sharing options...
shorty1483 477 Posted March 30, 2017 Share Posted March 30, 2017 (edited) proxy_hide_header X-Frame-Options; You can also use this to hide the header. i use the hide header function for services that block iframe by default. see my post a bit further up for a sample server block This does not work for me if I set add_header X-Frame-Options "SAMEORIGIN" always; inside server block. Anyway, I found a better and more modern way: add_header Content-Security-Policy "default-src *.mydomain.de;"; With this X-Frame Options are just hidden inside my domain+subdomains. Edited March 30, 2017 by shorty1483 1 Link to comment Share on other sites More sharing options...
shorty1483 477 Posted March 30, 2017 Share Posted March 30, 2017 (edited) @@Swynol This is a better one because in the above post code, you need to apply also all inline emby scripts and googlefonts etc...: add_header X-Frame-Options "SAMEORIGIN" always; add_header Content-Security-Policy "frame-ancestors sub.domain.de sub.domain.de sub.domain.de sub.domain.de;"; Both in server block of subdomains. Sameorigin still aplies except for your own subdomains regarding the iframe option. Works like a charm here. Edited March 30, 2017 by shorty1483 Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 30, 2017 Share Posted March 30, 2017 ok so i replace proxy_hide_header X-Frame-Options; with add_header X-Frame-Options "SAMEORIGIN" always; add_header Content-Security-Policy "frame-ancestors sub.domain.de sub.domain.de sub.domain.de sub.domain.de;"; for each of my server blocks and i have to add all my subdomains into the list? Link to comment Share on other sites More sharing options...
shorty1483 477 Posted March 30, 2017 Share Posted March 30, 2017 ok so i replace proxy_hide_header X-Frame-Options; with add_header X-Frame-Options "SAMEORIGIN" always; add_header Content-Security-Policy "frame-ancestors sub.domain.de sub.domain.de sub.domain.de sub.domain.de;"; for each of my server blocks and i have to add all my subdomains into the list? Yes sir, working perfectly here. First it thought this one is nice (add_header Content-Security-Policy "default-src *.mydomain.de;", but then I recognized that all Emby inline scripting like custom css is not applied when framed into Organizr. So I searched a bit more and the above is the ultima ratio. Plus all actual browsers support it. 1 Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 30, 2017 Share Posted March 30, 2017 awesome changed all my hide headers and all is working 2 Link to comment Share on other sites More sharing options...
schmitty 64 Posted April 1, 2017 Share Posted April 1, 2017 I have followed the basic install instructions, and I go to the webpage, and it says connection refused Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
causefx 14 Posted April 5, 2017 Author Share Posted April 5, 2017 schmitty - opening index.php brings that error? Link to comment Share on other sites More sharing options...
schmitty 64 Posted April 6, 2017 Share Posted April 6, 2017 (edited) Yes @@causefx Sent from my iPhone using Tapatalk Edited April 6, 2017 by schmitty Link to comment Share on other sites More sharing options...
CBers 6882 Posted April 6, 2017 Share Posted April 6, 2017 v1.30 brings Emby to the Organizr homepage! 2 Link to comment Share on other sites More sharing options...
Swynol 375 Posted April 6, 2017 Share Posted April 6, 2017 woop woop Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now