Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Ombi V4 and Tdarr #21

Open
Majibear opened this issue Sep 2, 2020 · 13 comments
Open

Ombi V4 and Tdarr #21

Majibear opened this issue Sep 2, 2020 · 13 comments

Comments

@Majibear
Copy link

Majibear commented Sep 2, 2020

I don't suppose you have a working subfolder config for Ombi V4? Nothing I'm doing seems to work, it just rests on a blank white page.

Also the reverse proxies provided by Tdarr don't seem to work either. I've tried all sorts of configurations for that and it just won't resolve.

@jrdnlc
Copy link
Contributor

jrdnlc commented Sep 2, 2020

Did you clear cache? Checked console errors?

@Majibear
Copy link
Author

Majibear commented Sep 3, 2020

Ombi started working this morning. I had cleared the cache a few times earlier because I read the same thing on a reddit post, but it did nothing at first. Just leaving it going overnight somehow solved it.

I am still having issues with Tdarr though, no matter what entry I put in, Nginx refuses it. This is what I have:

location /tdarr {
	auth_request /auth-0;

	add_header X-Frame-Options "SAMEORIGIN";
	proxy_set_header Host $host;
	proxy_set_header X-Forwarded-Host $server_name;
	proxy_set_header X-Real-IP $remote_addr;
	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_set_header X-Forwarded-Ssl on;
	proxy_set_header X-Forwarded-Proto $scheme;

	proxy_pass http://127.0.0.1:8265;
	proxy_redirect http://127.0.0.1:8265 https://$host;
}

Any ideas?

@jrdnlc
Copy link
Contributor

jrdnlc commented Sep 3, 2020

Did you add the base url for tdarr and the docker url variable?

@Majibear
Copy link
Author

Majibear commented Sep 3, 2020

I added the base url, I'm also not using docker.

@jrdnlc
Copy link
Contributor

jrdnlc commented Sep 3, 2020

What are you using then?

@Majibear
Copy link
Author

Majibear commented Sep 3, 2020

I'm on Windows 10, using the Nginx Organizr Windows Installer.

@jrdnlc
Copy link
Contributor

jrdnlc commented Sep 3, 2020

What does the console say when you try to load tdarr?

@Majibear
Copy link
Author

Majibear commented Sep 3, 2020

The console says nothing. It's working on Localhost, just not over reverse proxy.

For some reason when using the above config, if I add a second bracket to close off the syntax, Nginx gives the error 'nginx: [emerg] unexpected "}" in C:/nginx/conf/rp-subfolder.conf:170', and then and won't initialize. If I remove the bracket Nginx starts, but I get a blank page.

@jrdnlc
Copy link
Contributor

jrdnlc commented Sep 3, 2020

Try this

tdarr redirect

location /tdarr {
    return 301 /tdarr/;
}

tdarr containter

location /tdarr/ {
    auth_request /auth-0;
    proxy_pass http://10.0.0.18:8265/tdarr/;
    include /config/nginx/proxy.conf;
}

@Majibear
Copy link
Author

Majibear commented Sep 3, 2020

So just the tdarr redirect in my case? I don't have a proxy.conf in my set up?

@Majibear
Copy link
Author

Majibear commented Sep 3, 2020

Is there any specific reason I would be getting the following error?:
ginx: [emerg] unexpected "}" in C:/nginx/conf/rp-subfolder.conf:167

I'm receiving this error if I close off the syntax entry with a bracket, where as every other entry for other services works fine. If I don't close off other entries with double brackets they don't work either.

Example:

location /tautulli {
        proxy_pass http://127.0.0.1:8181;
	}
}
	location /tdarr {
        proxy_pass http://127.0.0.1:8265;
	}
}

Forgive the naivety. I'm failing to see where the issue is here with Tdarr.

@HalianElf
Copy link
Member

The issue you're having is you have extra brackets:

location /tautulli {
        proxy_pass http://127.0.0.1:8181;
	} # <= here
} 
	location /tdarr {
        proxy_pass http://127.0.0.1:8265;
	} # <= and here
}

@IamCage
Copy link

IamCage commented Aug 24, 2021

sorry for stupid question, but where to put this *.conf from folder "Subdomains"
thank you in advance.

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

No branches or pull requests

4 participants