Sinister Posted May 1, 2018 Share Posted May 1, 2018 (edited) 2 hours ago, CHBMB said: That config is correct, don't forget you need to restart letsencrypt after modifying the default file and you also need to set the reverse proxy prefix as well in the ubooquity admin config. thank you very much for your reply as you have suggested i have inserted location /ubooquity { proxy_pass http://192.168.0.1:2202/ubooquity; include /config/nginx/proxy.conf; } into the default file in the letsencrypt ngix folder i have left the reverse proxy prefix as the default since it matches what is in the post i have restarted both containers several times but whenever i go to http://myipaddress:2202/ubooquity/ it does not say or show that it is encrypted am i doing something wrong ? and https://myipaddress:2202/ubooquity/ doesnt even come up. again i apologize for my ignorance on the matter Edited May 1, 2018 by Sinister Quote Link to comment
Lerxst151 Posted May 1, 2018 Share Posted May 1, 2018 44 minutes ago, CHBMB said: This is the Unraid forum. Discord or our own forum if you're not an unRAID user for support as per the first post in this thread Sorry about that... Missed that at the top Quote Link to comment
CHBMB Posted May 1, 2018 Share Posted May 1, 2018 10 minutes ago, Sinister said: whenever i go to http://myipaddress:2202/ubooquity/ it does not say or show that it is encrypted It won't as it's not. It's http therefore unencrypted 11 minutes ago, Sinister said: https://myipaddress:2202/ubooquity/ doesnt even come up Look at the letsencryt docker logs, something isn't right somewhere Quote Link to comment
Sinister Posted May 1, 2018 Share Posted May 1, 2018 6 minutes ago, CHBMB said: It won't as it's not. It's http therefore unencrypted Look at the letsencryt docker logs, something isn't right somewhere ive included screenshots of my ngix folder and of the default file and my very last post there is a problem in the logs the message im getting is ErrorWarningSystemArrayLogin 2nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72nginx: [emerg] "location" directive is not allowed here in /config/nginx/site-confs/default:72 Quote Link to comment
CHBMB Posted May 1, 2018 Share Posted May 1, 2018 There's an error in your default file on line 72 which is stopping nginx from starting Quote Link to comment
Sinister Posted May 1, 2018 Share Posted May 1, 2018 1 minute ago, CHBMB said: There's an error in your default file on line 72 which is stopping nginx from starting what i had on line 72 was location /ubooquity { proxy_pass http://192.168.0.1:2202/ubooquity; include /config/nginx/proxy.conf; } was this wrong ? Quote Link to comment
CHBMB Posted May 1, 2018 Share Posted May 1, 2018 That's 4 lines..... But if that's what is at the end of the file you need another closing bracket around it } If that doesn't work you need to paste your file so I can take a look, screenshots are no good. Also that owncloud file shouldn't be a .txt file, it shouldn't have a file extension Quote Link to comment
Sinister Posted May 1, 2018 Share Posted May 1, 2018 (edited) 14 minutes ago, CHBMB said: That's 4 lines..... But if that's what is at the end of the file you need another closing bracket around it } If that doesn't work you need to paste your file so I can take a look, screenshots are no good. Also that owncloud file shouldn't be a .txt file, it shouldn't have a file extension default posted is my default file not sure what else i could do Edited May 1, 2018 by Sinister Quote Link to comment
CHBMB Posted May 1, 2018 Share Posted May 1, 2018 36 minutes ago, Sinister said: default posted is my default file not sure what else i could do There's no ubooquity config in that Quote Link to comment
Sinister Posted May 1, 2018 Share Posted May 1, 2018 9 minutes ago, CHBMB said: There's no ubooquity config in that i have removed the config line default now i get nginx: [emerg] unexpected "}" in /config/nginx/site-confs/default:74nginx: [emerg] unexpected "}" in /config/nginx/site-confs/default:74nginx: [emerg] unexpected "}" in /config/nginx/s Quote Link to comment
CHBMB Posted May 1, 2018 Share Posted May 1, 2018 Just now, Sinister said: i have removed the config line default now i get nginx: [emerg] unexpected "}" in /config/nginx/site-confs/default:74nginx: [emerg] unexpected "}" in /config/nginx/site-confs/default:74nginx: [emerg] unexpected "}" in /config/nginx/s On line 49 you have the closing bracket and you've posted the ubooquity config below that, it should be above the closing bracket. You need to be really careful about where the brackets are otherwise, like you've found, the file breaks. Quote Link to comment
Sinister Posted May 2, 2018 Share Posted May 2, 2018 35 minutes ago, CHBMB said: On line 49 you have the closing bracket and you've posted the ubooquity config below that, it should be above the closing bracket. You need to be really careful about where the brackets are otherwise, like you've found, the file breaks. so that seems to have fixed the problem with letsencrypt but i still cant seem to connect securely default ive attached my default file to confirm im trying to connect through https://myipaddress:2202/ubooquity http://myipaddress:2202/ubooquity still works just fine did i miss anything ? Quote Link to comment
CHBMB Posted May 2, 2018 Share Posted May 2, 2018 You don't need the port, that's the whole point of a reverse proxy. 1 Quote Link to comment
Sinister Posted May 2, 2018 Share Posted May 2, 2018 1 hour ago, CHBMB said: You don't need the port, that's the whole point of a reverse proxy. well that certainly fixed my problem but i had a new one which i managed to quickly figure out thank you so much for your patience everything works now Quote Link to comment
CHBMB Posted May 2, 2018 Share Posted May 2, 2018 10 hours ago, Sinister said: well that certainly fixed my problem but i had a new one which i managed to quickly figure out thank you so much for your patience everything works now Good, glad we got there in the end Quote Link to comment
LondonDragon Posted November 15, 2018 Share Posted November 15, 2018 Hi everyone, Is there a way to remove the /ubooquity/ and run it as root? Cheers Quote Link to comment
RevelRob Posted November 29, 2018 Share Posted November 29, 2018 Hi, I'm having trouble with reverse proxy-ing the admin page. Is this possible? The following works to access the library: location /ubooquity { proxy_pass http://IPADDRESS:2202/ubooquity; How would I access the admin page? I know that the port is 2203; however, it's the same base url ("reverse proxy prefix"), so I'm not sure what the location block and/or proxy pass should be. I've tried the following variations with no luck. Location: location /ubooquity/admin { location /ubooquity/admin/ { location /ubooquity-admin { location /ubooquity-admin/ { location /admin { location /admin/ { Proxy Pass: proxy_pass http://IPADDRESS:2203 proxy_pass http://IPADDRESS:2203/ proxy_pass http://IPADDRESS:2203/ubooquity; proxy_pass http://IPADDRESS:2203/ubooquity/; proxy_pass http://IPADDRESS:2203/ubooquity/admin; proxy_pass http://IPADDRESS:2203/ubooquity/admin/; Some of them give me this: instead of this: And in the Chrome Console, I get the following: Thanks for any help! Quote Link to comment
LondonDragon Posted December 11, 2018 Share Posted December 11, 2018 On 11/15/2018 at 5:08 PM, LondonDragon said: Hi everyone, Is there a way to remove the /ubooquity/ and run it as root? Cheers Hi everyone, is this possible? many thanks Quote Link to comment
saarg Posted December 11, 2018 Share Posted December 11, 2018 8 hours ago, LondonDragon said: Hi everyone, is this possible? many thanks If there is nothing about it in the webgui, then it's not possible as far as I know. Quote Link to comment
LondonDragon Posted December 12, 2018 Share Posted December 12, 2018 On 12/11/2018 at 2:44 PM, saarg said: If there is nothing about it in the webgui, then it's not possible as far as I know. Many thanks, I did find another ubooquity docker that runs it as root and not on a subdirectory, just would prefer to use this version rather than a version that is not on the default unraid community apps. This is not an option on the GUI, seems to be the way the software has been configured to run. Quote Link to comment
Squid Posted December 24, 2018 Share Posted December 24, 2018 On 12/11/2018 at 1:25 AM, LondonDragon said: Hi everyone, is this possible? many thanks In admin, advanced settings, remove the reverse proxy prefix Quote Link to comment
LondonDragon Posted December 29, 2018 Share Posted December 29, 2018 On 12/24/2018 at 10:08 PM, Squid said: In admin, advanced settings, remove the reverse proxy prefix Many thanks, that seems to work, I did try that before and it looks like it doesnt work because when you click on the WebGUI link it still sends you to http://192.168.1.228:2202/ubooquity/admin hence although it was working it looks like it doesnt work :( Many thanks for confirming this, I have migrated the database from the previous docker to this one and it just carried on working, no need to rescan everything :) awesome Quote Link to comment
Squid Posted December 29, 2018 Share Posted December 29, 2018 4 hours ago, LondonDragon said: WebGUI link You can change the UI link by editing the template (advanced view - might also need to enable developer mode in Settings Docker) Quote Link to comment
TexasDave Posted January 27, 2019 Share Posted January 27, 2019 (edited) First, big thanks for this docker, I find it super useful (as do my kids). 😀 In case anyone is looking for a solid Android reader for ubooquity, KUBOO is nice. I am using it with LetsEncrypt/DuckDNS so I can use it outside the house (and so my son up at university can use it). Just make sure you open port 2202 on your router, that got me at first. WRONG!! It is also easy to test your feed by just pointing your browser to the address and you should, if all is working, see the XML feed.: This works in your browser (https://XXXX.duckdns.org/) This is what you put in KUBOO (https://XXXX.duckdns.org/opds-comics/) (you can put this in your browser and you will see XML) Replace XXXX with your duckdns subdoman Thanks!! Edited February 3, 2019 by TexasDave Quote Link to comment
saarg Posted January 27, 2019 Share Posted January 27, 2019 13 minutes ago, TexasDave said: First, big thanks for this docker, I find it super useful (as do my kids). 😀 In case anyone is looking for a solid Android reader for ubooquity, KUBOO is nice. I am using it with LetsEncrypt/DuckDNS so I can use it outside the house (and so my son up at university can use it). Just make sure you open port 2202 on your router, that got me at first. It is also easy to test your feed by just pointing your browser to the address and you should, if all is working, see the XML feed. Thanks!! If you need to open port 2202, you are not reverse Proxying the container. All traffic should go over 443 then. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.