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
:root { | |
--dark-color-ligth: #8f90a6; | |
--dark-color: #555770; | |
--dark-color-dark: #28293d; | |
--dark-color-dark-plus: #1b1b27; | |
--ligth-color-ligth: #fafafc; | |
--ligth-color: #f2f2f5; | |
--ligth-color-dark: #ebebf0; | |
--red-color-ligth: #ff8080; | |
--red-color: #ff5c5c; |
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
use std::fmt::Display; | |
use chrono::Utc; | |
use sha3::Sha3_512; | |
use uuid::Uuid; | |
use crate::errors::HashError; | |
struct HashedElement(Box<[u8]>); |
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
upstream loadbalancer { | |
least_conn; | |
server 127.0.0.2 weight=5; | |
server 127.0.0.3 weight=5; | |
server 127.0.0.4; | |
server 127.0.0.5; | |
} | |
server { | |
listen 80; |