Sudo certbot --nginx how do I know my metabase domain?

My domain is: I don't know

I ran this command: sudo certbot --nginx

It produced this output:Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel):

My web server is (include version): firefox

The operating system my web server runs on is (include version): lubuntu

My hosting provider, if applicable, is: metabase

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 1.21.0

I'm trying to set up a https for my team have access to a database information on metabase. I created a metabase local connection with docker but I don't understand any of this! My nginx information are saved on a file as:

server {
  server_name   ;

  proxy_set_header        Host $host;
  proxy_set_header        X-Real-IP $remote_addr;
  proxy_set_header        X-Forward-For $proxy_add_x_forwarded_for;
  proxy_set_header        X-Forwarded-Proto $scheme;
  proxy_set_header Proxy  "";
  proxy_redirect          off;

  location /metabase/ {
    proxy_pass            http://localhost:3000/;

do I have to edit this?

Hi @carolvieirav and welcome to the LE community forum :slight_smile:

If you are to provide access to a database to anyone directly over the Internet, HTTPS is a requirement; But getting a globally trusted CA certificate for that has its' own requirements.

That's not going to work.
You really should read up on how to enable HTTPS.
This is a forum to help people when they have a problem implementing a solution.
You are looking for a solution - to which there are an infinite amount of possibilities.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.