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
#!/usr/bin/python | |
# SPDX-License-Identifier: MIT | |
import sys,json,base64,binascii | |
with open(sys.argv[1]) as fp: | |
pkey=json.load(fp) | |
def enc(data): | |
missing_padding = 4 - len(data) % 4 | |
if missing_padding: |
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
user www-data; | |
#worker_processes 4; | |
#worker_priority 0; | |
#worker_cpu_affinity 0001 0010 0100 1000; | |
#worker_rlimit_nofile 163840; | |
#worker_processes 8; | |
#worker_priority 0; | |
#worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000; |