muwahhid Posted July 29, 2020 Share Posted July 29, 2020 12 minutes ago, cheesemarathon said: Head to /ghost not /login That should work I'm sorry, I'm probably asking a stupid question. But I do not understand. mydomain.ru/ghostnot/login So write? Or what? Quote Link to comment
cheesemarathon Posted July 29, 2020 Author Share Posted July 29, 2020 Just now, muwahhid said: I'm sorry, I'm probably asking a stupid question. But I do not understand. mydomain.ru/ghostnot/login So write? Or what? Go to mydomain.ru/ghost 1 Quote Link to comment
muwahhid Posted July 29, 2020 Share Posted July 29, 2020 1 minute ago, cheesemarathon said: Go to mydomain.ru/ghost thank you) Quote Link to comment
Danuel Posted August 3, 2020 Share Posted August 3, 2020 does anyone have a Minio.conf.sample file for letsencrypt ? Quote Link to comment
cheesemarathon Posted August 3, 2020 Author Share Posted August 3, 2020 55 minutes ago, Danuel said: does anyone have a Minio.conf.sample file for letsencrypt ? server { listen 80; server_name minio.yourdomain.com; return 301 https://$server_name$request_uri; } server { listen 443 ssl; server_name minio.yourdomain.com; ssl_certificate /config/keys/letsencrypt/fullchain.pem; ssl_certificate_key /config/keys/letsencrypt/privkey.pem; ssl_prefer_server_ciphers on; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0; # To disable buffering proxy_buffering off; location / { proxy_set_header Host $http_host; proxy_pass http://X.X.X.X:9768; } } Quote Link to comment
Danuel Posted August 7, 2020 Share Posted August 7, 2020 On 8/3/2020 at 8:43 PM, cheesemarathon said: server { listen 80; server_name minio.yourdomain.com; return 301 https://$server_name$request_uri; } server { listen 443 ssl; server_name minio.yourdomain.com; ssl_certificate /config/keys/letsencrypt/fullchain.pem; ssl_certificate_key /config/keys/letsencrypt/privkey.pem; ssl_prefer_server_ciphers on; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0; # To disable buffering proxy_buffering off; location / { proxy_set_header Host $http_host; proxy_pass http://X.X.X.X:9768; } } thank you, worked but, there is any way to add more users ? Quote Link to comment
cheesemarathon Posted August 7, 2020 Author Share Posted August 7, 2020 8 minutes ago, Danuel said: thank you, worked but, there is any way to add more users ? Check the minio docs: https://docs.min.io/docs/minio-multi-user-quickstart-guide.html Quote Link to comment
Danuel Posted August 7, 2020 Share Posted August 7, 2020 25 minutes ago, cheesemarathon said: Check the minio docs: https://docs.min.io/docs/minio-multi-user-quickstart-guide.html i did saw that guide but does not help me from minio terminal, mc admin user add myminio newuser newuser123 if i type minio -h in terminal / # minio -h NAME: minio - High Performance Object Storage DESCRIPTION: Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO USAGE: minio [FLAGS] COMMAND [ARGS...] COMMANDS: server start object storage server gateway start object storage gateway FLAGS: --certs-dir value, -S value path to certs directory (default: "/root/.minio/certs") --quiet disable startup information --anonymous hide sensitive information from logging --json output server logs and startup information in json format --help, -h show help --version, -v print the version so i don't see any option to add more users Quote Link to comment
cheesemarathon Posted August 7, 2020 Author Share Posted August 7, 2020 2 minutes ago, Danuel said: i did saw that guide but does not help me from minio terminal, mc admin user add myminio newuser newuser123 if i type minio -h in terminal / # minio -h NAME: minio - High Performance Object Storage DESCRIPTION: Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO USAGE: minio [FLAGS] COMMAND [ARGS...] COMMANDS: server start object storage server gateway start object storage gateway FLAGS: --certs-dir value, -S value path to certs directory (default: "/root/.minio/certs") --quiet disable startup information --anonymous hide sensitive information from logging --json output server logs and startup information in json format --help, -h show help --version, -v print the version so i don't see any option to add more users Minio is controlled via minio client https://docs.min.io/docs/minio-client-quickstart-guide.html Read those then you should better understand how to add users. FYI I've not done this myself Quote Link to comment
Danuel Posted August 8, 2020 Share Posted August 8, 2020 14 hours ago, cheesemarathon said: Minio is controlled via minio client https://docs.min.io/docs/minio-client-quickstart-guide.html Read those then you should better understand how to add users. FYI I've not done this myself mange eventually to add users Quote Link to comment
ytddewqf Posted September 14, 2020 Share Posted September 14, 2020 (edited) Hi, I was hoping someone could give me a nudge in the right direction. I'm trying to setup OAuth2 and have followed the guide here; OAuth2 Guide My problem however is that I am receiving a "Failed to load config: unable to load config file: While parsing config: (1, 1): unexpected token" error. I've gone over the config file several times and I can't see where I have formatted it incorrectly. For reference, I am trying to set this up for my remote access to bitwarden. Once I get it working I hope to expand it to my other containers. I have included some screenshots below in the hopes that someone can point out my mistake. Many thanks. Edited September 14, 2020 by LoneTraveler Quote Link to comment
cheesemarathon Posted September 15, 2020 Author Share Posted September 15, 2020 On 9/14/2020 at 12:09 PM, LoneTraveler said: Hi, I was hoping someone could give me a nudge in the right direction. I'm trying to setup OAuth2 and have followed the guide here; OAuth2 Guide My problem however is that I am receiving a "Failed to load config: unable to load config file: While parsing config: (1, 1): unexpected token" error. I've gone over the config file several times and I can't see where I have formatted it incorrectly. For reference, I am trying to set this up for my remote access to bitwarden. Once I get it working I hope to expand it to my other containers. I have included some screenshots below in the hopes that someone can point out my mistake. Many thanks. Everything there looks ok. Have you put an email in the emails.cfg file to authenticate against? Quote Link to comment
ytddewqf Posted September 15, 2020 Share Posted September 15, 2020 (edited) 21 minutes ago, cheesemarathon said: Everything there looks ok. Have you put an email in the emails.cfg file to authenticate against? Hi, Many thanks for replying. I have just the one email address in the emails.cfg file, and it's the same one that I use to login to my Google account to obtain the client ID. ***Edit - Just to add a little further, I've completed up to step 12 of "OAuth2 Proxy Setup", however it is here that I am getting stuck as the container will not start, preventing me from moving on to the next step of "configuring NGINX". Edited September 15, 2020 by LoneTraveler Quote Link to comment
cheesemarathon Posted September 16, 2020 Author Share Posted September 16, 2020 22 hours ago, LoneTraveler said: Hi, Many thanks for replying. I have just the one email address in the emails.cfg file, and it's the same one that I use to login to my Google account to obtain the client ID. ***Edit - Just to add a little further, I've completed up to step 12 of "OAuth2 Proxy Setup", however it is here that I am getting stuck as the container will not start, preventing me from moving on to the next step of "configuring NGINX". Can you confirm what files you have in /mnt/user/appdata/oauth2/ You should have emails.cfg and oauth2_proxy.cfg I couldn't tell from your screenshot. 1 Quote Link to comment
ytddewqf Posted September 16, 2020 Share Posted September 16, 2020 1 minute ago, cheesemarathon said: Can you confirm what files you have in /mnt/user/appdata/oauth2/ You should have emails.cfg and oauth2_proxy.cfg I couldn't tell from your screenshot. Hi, Yes, those are the only two files I have in that folder; emails.cfg and oauth2_proxy.cfg Regards. Quote Link to comment
cheesemarathon Posted September 16, 2020 Author Share Posted September 16, 2020 18 minutes ago, LoneTraveler said: Hi, Yes, those are the only two files I have in that folder; emails.cfg and oauth2_proxy.cfg Regards. Then the only thing I can think is that perhaps your line endings have gone wrong. I have attached my config, minus my secrets. I marked the values that you need to replace with REPLACE_ME then replace your existing config with my one, as I know mine works. Make sure you use an editor that adheres to linux file line endings such as notepad++ oauth2_proxy.cfg 1 Quote Link to comment
ytddewqf Posted September 16, 2020 Share Posted September 16, 2020 13 minutes ago, cheesemarathon said: Then the only thing I can think is that perhaps your line endings have gone wrong. I have attached my config, minus my secrets. I marked the values that you need to replace with REPLACE_ME then replace your existing config with my one, as I know mine works. Make sure you use an editor that adheres to linux file line endings such as notepad++ oauth2_proxy.cfg 1.8 kB · 0 downloads You're a gent, thank you very much! Quote Link to comment
ytddewqf Posted September 16, 2020 Share Posted September 16, 2020 Worked like a charm, thank you very much! Can I just clarify a small point please, in the "cookie_domains" field, do you put your top level domain url (ie mydomain.com) or do you list each page you want to protect (ie nextcloud.mydomain.com, bitwarden.mydomain.com etc)? Quote Link to comment
cheesemarathon Posted September 16, 2020 Author Share Posted September 16, 2020 1 hour ago, LoneTraveler said: Worked like a charm, thank you very much! Can I just clarify a small point please, in the "cookie_domains" field, do you put your top level domain url (ie mydomain.com) or do you list each page you want to protect (ie nextcloud.mydomain.com, bitwarden.mydomain.com etc)? Top level domain only 1 Quote Link to comment
ytddewqf Posted September 16, 2020 Share Posted September 16, 2020 2 minutes ago, cheesemarathon said: Top level domain only Many thanks. Quote Link to comment
njdowdy Posted November 21, 2020 Share Posted November 21, 2020 Can someone please advise me on how to pass my postgres docker to the Taskcafe docker template? I have a postgres11 docker named "postgres-taskcafe" running on <my_unraid_ip>:5433 In the Taskcafe template I have tried passing the following into TASKCAFE_DATABASE_HOST: postgres-taskcafe; <my_unraid_ip>:5433 With the following error: error="dial tcp: lookup postgres-taskcafe on 1.1.1.1:53: no such host" Network Type set to "Bridge" like the rest of my dockers. I'm sure I'm making a noob mistake. Thanks in advance! Quote Link to comment
SuperStyro Posted December 11, 2020 Share Posted December 11, 2020 On 11/20/2020 at 10:18 PM, njdowdy said: Can someone please advise me on how to pass my postgres docker to the Taskcafe docker template? I have a postgres11 docker named "postgres-taskcafe" running on <my_unraid_ip>:5433 In the Taskcafe template I have tried passing the following into TASKCAFE_DATABASE_HOST: postgres-taskcafe; <my_unraid_ip>:5433 With the following error: error="dial tcp: lookup postgres-taskcafe on 1.1.1.1:53: no such host" Network Type set to "Bridge" like the rest of my dockers. I'm sure I'm making a noob mistake. Thanks in advance! Set the Postgresql docker to 'host' for network type. The default port 5432 is used in the TASKCAFE docker for Postgres and that can not be changed currently. Also, make sure to set the DB_NAME to 'taskcafe' in the Postgresql docker NOTE: I am stuck at the login screen and not able register a new user. That option does not work yet. I also, do not get the 'first start install' to happen. 1 Quote Link to comment
vurt Posted February 3, 2021 Share Posted February 3, 2021 (edited) I managed to get the Ghost docker running with MariaDB. After an initial hiccup with logging into Ghost admin (a Firefox restart fixed it), everything seems fine from mydomain.net/blog and mydomain.net/blog/ghost. But if I tried to access it internally at my.ip/blog or my.ip/blog/ghost, I get this Firefox error: Error code: SSL_ERROR_RX_RECORD_TOO_LONG Safari says it can't establish a secure connection to my IP. Has anyone encountered this? I'm guessing it's related to Nginx but my other dockers are accessible. Edited February 3, 2021 by vurt Quote Link to comment
cheesemarathon Posted February 5, 2021 Author Share Posted February 5, 2021 On 2/3/2021 at 12:32 AM, vurt said: I managed to get the Ghost docker running with MariaDB. After an initial hiccup with logging into Ghost admin (a Firefox restart fixed it), everything seems fine from mydomain.net/blog and mydomain.net/blog/ghost. But if I tried to access it internally at my.ip/blog or my.ip/blog/ghost, I get this Firefox error: Error code: SSL_ERROR_RX_RECORD_TOO_LONG Safari says it can't establish a secure connection to my IP. Has anyone encountered this? I'm guessing it's related to Nginx but my other dockers are accessible. I believe it is because ghost is expecting a connection over https. Your ssl cert is bound to your domain name so browsing to it via internal IP things are not gonna match up. Just browse it via your domain and you will be fine. You haven't done anything wrong. 1 Quote Link to comment
vurt Posted March 4, 2021 Share Posted March 4, 2021 On 2/5/2021 at 3:52 AM, cheesemarathon said: I believe it is because ghost is expecting a connection over https. Your ssl cert is bound to your domain name so browsing to it via internal IP things are not gonna match up. Just browse it via your domain and you will be fine. You haven't done anything wrong. Ah interesting, that makes sense but the error it gave doesn't seem related to the cause. This will be the first time I haven't done anything wrong—I always default to user (me) error 😅 Thank you and sorry for the extremely late response! The forum doesn't email notifications and I don't come here much. 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.