Tres Chain
  • What is Tres Chain?
  • Our Logos
  • Intro
    • Project Overview
      • Vision
      • Scholarship
      • Voting
      • Community
      • Social Media
  • Coin Information
    • Tres Coin and Tres Token
      • Tokens
        • Archived
          • Tres Leches Cake(archived)
          • Tres Leches(archived)
          • Tres Leches Cupcake(archived)
          • Staking(archived)
    • Coin Distribution
  • Our SmartSwap
    • Swap
      • Addresses
      • How to add liquidity
      • How to swap
  • Our Wallet
    • Wallet
      • Android
      • IOS
      • Dapp Catalog
      • Extension
        • Privacy Policy
        • Terms of Use of Blockwallet/CakeWallet
        • How to use the Phishing Protection feature
        • What Is a Dropped Transaction?
        • How do Hardware Wallets Work?
        • How to get the Ledger Hardware Wallet
        • How to get the Trezor Hardware Wallet?
        • What is an HD Path?
        • What is Lock Timeout?
        • How to Add a Custom Network RPC
        • Tips to Stay Safe When Connecting to DApps
        • How to Use BlockWallet Bridges
  • Our Blockchain
    • Blockchain
      • Node List
      • Install Node 2023
      • Install and Configure your Node
      • Nodes
        • Setup a Node
        • Add Node to Tres Leches Chain
        • Secure the Node
      • Blockscout Explorer Install
      • Smart Contract Verification
      • Testnet Configuration
      • Validator Rewards
  • Our NFTs
    • NFT
      • Owner's(archived)
      • Desert Rolodex Collection(archived)
  • Who we are
    • Team
  • Audits
    • Token Audit
    • Wrapped Token
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Our Blockchain
  2. Blockchain
  3. Nodes

Secure the Node

PreviousAdd Node to Tres Leches ChainNextBlockscout Explorer Install

Last updated 1 year ago

Was this helpful?

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot
sudo certbot certonly --standalone -d rpc-test.tresleches.finance

Install ngix

server {

listen 443 ssl;



ssl_certificate /etc/letsencrypt/live/rpc-test.tresleches.finance/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/rpc-test.tresleches.finance/privkey.pem;
ssl_session_cache shared:SSL:10m;

location / {

    proxy_pass http://rpc-test.tresleches.finance:8545; # my existing apache instance
    proxy_set_header Host $host;

    # re-write redirects to http as to https, example: /home
    proxy_redirect http:// https://;
}}
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04