- Make sure the domain you picked points at the IP of your Redash server.
- Switch to the
rootuser (sudo su). - Create a folder named
nginxin/opt/redash. - Create in the nginx folder two additional folders:
certsandcerts-data. - Create the file
/opt/redash/nginx/nginx.confand place the following in it: (replaceexample.redashapp.comwith your domain name)upstream redash { server redash:5000; }
This file contains hidden or 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
| <?php | |
| /** | |
| * Maldives Payment Gateway Integration | |
| * @author haris | |
| */ | |
| class MPG | |
| { | |
| private $version; |
This file contains hidden or 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 | |
| # Update the local repository and prune remote-tracking branches | |
| git fetch --prune | |
| # Loop over each local branch and check if it has a remote tracking branch | |
| for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do | |
| echo "Deleting local branch: $branch" | |
| git branch -d "$branch" | |
| done |
This file contains hidden or 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
| package main | |
| import ( | |
| "net/http" | |
| "net/http/httputil" | |
| "net/url" | |
| ) | |
| func main() { | |
| // Parse the target URL |
OlderNewer