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
pragma circom 2.0.3; | |
include "../node_modules/circomlib/circuits/poseidon.circom"; | |
include "../node_modules/circomlib/circuits/comparators.circom"; | |
template Mastermind () { | |
var n = 4; | |
signal input guess[n]; | |
signal input answer[n]; | |
signal input ansHash; |
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
server { | |
listen 443 ssl http2 default_server; | |
listen [::]:443 ssl http2 default_server; | |
server_name _; | |
root /usr/share/nginx/html; | |
ssl_certificate "/etc/letsencrypt/live/camelot.ai/fullchain.pem"; //REPLACE THE DOMAIN NAME WITH YOURS | |
ssl_certificate_key "/etc/letsencrypt/live/camelot.ai/privkey.pem"; //REPLACE THE DOMAIN NAME WITH YOURS | |
# It is *strongly* recommended to generate unique DH parameters | |
# Generate them with: openssl dhparam -out /etc/pki/nginx/dhparams.pem 2048 |
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
map $http_upgrade $connection_upgrade { | |
default "upgrade"; | |
"" ""; | |
} | |
server { | |
listen 80; | |
gzip on; | |
gzip_comp_level 4; |