- Make sure the domain you picked points at the IP of your Redash server.
- Switch to the
root
user (sudo su
). - Create a folder named
nginx
in/opt/redash
. - Create in the nginx folder two additional folders:
certs
andcerts-data
. - Create the file
/opt/redash/nginx/nginx.conf
and place the following in it: (replaceexample.redashapp.com
with your domain name)upstream redash { server redash:5000; }
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Specify the directory where your Git repositories are located | |
repo_dir="." | |
# Function to delete a Git repository if it exists | |
delete_repo() { | |
local repo_dir="$1" | |
if [ -d "$repo_dir" ]; then | |
echo "Deleting existing repository: $repo_dir" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am guim4dev on github. | |
* I am guim4 (https://keybase.io/guim4) on keybase. | |
* I have a public key ASANL2TKEPhQiKpZTKTuUCSCOF7zsx6gOBivfg6DRBGQ1go | |
To claim this, I am signing this object: |