@ joq3
Did you install the nginx plugin befor?
Or is it working without the plugin?
Does anybody know if for a ssl connection have to be enable a proxy extension like apache2?
@ joq3
Did you install the nginx plugin befor?
Or is it working without the plugin?
Does anybody know if for a ssl connection have to be enable a proxy extension like apache2?
The nginx websites plugin has support for SSL. This is working without the plugin.
But the Plugin for OMV has to be installed to use the redirect?
But the Plugin for OMV has to be installed to use the redirect?
No, read the whole thread, is just adding a file in a folder.
I have now been able to make it work for CouchPotato, SickRage and Transmission.
But Couchpotato won't load the movie posters, if I go to 192.168.1.2:5050 it works, and loads all pictures, but if I go to 192.168.1.2/couch it loads the site, but not the movie posters/covers.
Is there something missing in the redirection?
SickRage, Transmission works good though.
But I can't manage to make plex redirect work.
I get to this page, with this error message:
How do you do it?
Can you post the config files please?
Thanks Robert
Plex is much more complicated. I have a config file for host or prefix.host, not for host/path that I took from github.
I can post it later if someone was to mod it to work with a path.
Plex i got working. Here:
nginx plexconnet
But not as described in the plex Forum.
I need to aktivate the ssl handling by plexconnect.
Nginx SSL only was not working.
Cant figure out what is wrong.
Think there is perhaps a config line missing.
Yes please post your config of the other service later.
So i got a idea to deal my services.
# Plex.
# Determine local or remote. Here you add local lan subnets that don't need login. You can add vpn subnet also. Without this plex will always ask for username login
geo $geo {
default 0;
127.0.0.1/32 1;
10.10.10.0/24 1;
}
upstream plex-upstream {
server 127.0.0.1:32400;
}
upstream plex-remote-upstream {
server hostname:32400;
}
server {
listen [::]:80;
server_name plex.lan;
location / {
set $test "";
# If a request to / comes in, 301 redirect to the main plex page,
# but only if it doesn't contain the X-Plex-Device-Name header or query argument.
# This fixes a bug where you get permission issues when accessing the web dashboard.
if ($http_x_plex_device_name = '') {
set $test A;
}
if ($arg_X-Plex-Device-Name = '') {
set $test "${test}B";
}
if ($test = AB) {
rewrite ^/$ http://$http_host/web/index.html;
}
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
if ($geo = 1) {
proxy_pass http://plex-upstream;
}
if ($geo = 0) {
proxy_pass http://plex-remote-upstream;
}
# Plex proxy settings.
proxy_redirect off;
proxy_buffering off;
## Required for Websockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 36000s; ## Timeout after 10 hours
}
}
Alles anzeigen
Taken from one of the comments from here
Externer Inhalt
gist.github.com
Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.
Seems like there is some problem with both SickRage and Couchpotato.
If I connect with :5050 (port number) posters shows up.
Funny thing is that if I right click the poster and open image url it will show up.
When searching movies it will not show posters, but when it is snatched it shows up as you see.
Other than that Couchpotato works!
SickRage does work too, images shows up, but I get this error everytime I go to a different page in the webui:
2015-02-24 13:33:18 Thread-51 :: Failed doing webui callback: Traceback (most recent call last):
File "/opt/sickbeard/sickbeard/webserve.py", line 230, in async_call
result = function(**kwargs)
File "/opt/sickbeard/sickbeard/webserve.py", line 309, in index
return self.redirect('/home/')
File "/opt/sickbeard/sickbeard/webserve.py", line 191, in redirect
super(BaseHandler, self).redirect(url, permanent, status)
File "/opt/sickbeard/tornado/web.py", line 630, in redirect
self.finish()
File "/opt/sickbeard/tornado/web.py", line 892, in finish
self.flush(include_footers=True)
File "/opt/sickbeard/tornado/web.py", line 846, in flush
start_line, self._headers, chunk, callback=callback)
File "/opt/sickbeard/tornado/http1connection.py", line 385, in write_headers
self._pending_write = self.stream.write(data)
File "/opt/sickbeard/tornado/iostream.py", line 348, in write
self._handle_write()
File "/opt/sickbeard/tornado/iostream.py", line 800, in _handle_write
_merge_prefix(self._write_buffer, num_bytes)
File "/opt/sickbeard/tornado/iostream.py", line 1383, in _merge_prefix
if len(deque) == 1 and len(deque[0]) <= size:
TypeError: object of type 'NoneType' has no len()
Alles anzeigen
So there seems to be a problem with the nginx reverse, something isn't "reversing" properly.
I use this, for both SickRage and Couchpotato:
location /couch {
proxy_pass http://localhost:5050;
proxy_set_header Host localhost:5050;
proxy_redirect default;
}
(put in /etc/nginx/openmediavault-webgui.d/)
Why doy ou proxy manually when the plugins have a option for that?
Greetings
David
Why doy ou proxy manually when the plugins have a option for that?
Greetings
David
SickBeard plugin received this option just a few days ago? Couchpotato plugin doesn't have the option?
And since updating the Sickbeard plugin the settings doesn't save. I use SickRage, but if I select the Repository and Branch and save, it clears both fields. So no settings stick, though SickRage seems to work anyway!
SickBeard plugin received this option just a few days ago?
Should be there for some weeks.
For the other problem please wait for the next update.
Greetings
David
Should be there for some weeks.
For the other problem please wait for the next update.
Greetings
David
Okey, nice. But still I want to be able to reverse proxy other services, like sabnzbd, that plugin doesn't have this option?
Okey, nice. But still I want to be able to reverse proxy other services, like sabnzbd, that plugin doesn't have this option?
The version with this on is 99% ready, I just need to actually test it.
I am currently stuck on a reverse proxy for Subsonic, I have the basic proxy setup but it does not work as expected.
location /subsonic {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:4040/subsonic;
proxy_set_header Host localhost:4040;
proxy_redirect default;
}
If I do IP/subsonic it takes me to IP/index.view but if I do IP/subsonic/ it does take me to IP/subsonic/index.view
How can I remove the need to add a trailing / (Couchpotato, Sickbeard ect does not need it)
Okey, nice. But still I want to be able to reverse proxy other services, like sabnzbd, that plugin doesn't have this option?
Patience young padawan, jhmiller has just implemented it in Sickbeard and is moving that knowledge to the other plugins of his too.
Greetings
David
Patience young padawan, jhmiller has just implemented it in Sickbeard and is moving that knowledge to the other plugins of his too.
Greetings
David
New version of the SABnzbd with HTTPS and proxy support will be available soon.
After you have updated you may need to stop and then start the service again via the plugin page if it is not running, you should only have to do this once when installing this new version.
If you find any problems let me know.
Miller
joq3: May be this link can help you: http://skovalyov.blogspot.ch/2…node-applications-on.html
I'm trying to create a reverse proxy for calibre but it doesn't work for some reason, when I try to access it I only get the error message "404 Not Found The path '/calibre' was not found." I already have subsonic set up, and it works perfectly, it can be accessed through openmediavault/subsonic. I want the same for calibre. This is my sub.conf in /etc/nginx/openmediavault-webgui.d
location /subsonic {
proxy_pass http://localhost:4040/subsonic;
proxy_set_header Host localhost:4040;
#proxy_set_header Host ;
proxy_redirect default;
}
And here is my calibre.conf in the same directory.
Just in case someone intends to do the same, I have found out how to make it work. On your openmediavault machine, navigate to "/etc/init.d" and open the file "calibre". Navigate to the line
and add
Zitat--url-prefix=/calibre
to it, so that it looks like this
. Save and close the file and restart calibre, if you have already set up the sub.conf from my previous post it should work, otherwise add this file now and restart nginx.
Keep in mind however that this change likely has to be repeated every time the plugin is updated.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!