Config-Collections-for-Nginx icon indicating copy to clipboard operation
Config-Collections-for-Nginx copied to clipboard

Ombi V4 and Tdarr

Open Majibear opened this issue 4 years ago • 13 comments

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.

Majibear avatar Sep 02 '20 05:09 Majibear

Did you clear cache? Checked console errors?

jrdnlc avatar Sep 02 '20 14:09 jrdnlc

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?

Majibear avatar Sep 03 '20 02:09 Majibear

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

jrdnlc avatar Sep 03 '20 02:09 jrdnlc

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

Majibear avatar Sep 03 '20 02:09 Majibear

What are you using then?

jrdnlc avatar Sep 03 '20 02:09 jrdnlc

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

Majibear avatar Sep 03 '20 02:09 Majibear

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

jrdnlc avatar Sep 03 '20 02:09 jrdnlc

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.

Majibear avatar Sep 03 '20 02:09 Majibear

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;
}

jrdnlc avatar Sep 03 '20 02:09 jrdnlc

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

Majibear avatar Sep 03 '20 02:09 Majibear

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.

Majibear avatar Sep 03 '20 04:09 Majibear

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
}

HalianElf avatar Sep 16 '20 13:09 HalianElf

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

IamCage avatar Aug 24 '21 14:08 IamCage