sudo dnf update -y --refresh; sudo dnf install -y qemu-guest-agent tar; sudo systemctl disable --now firewalld; sudo dnf clean all; sudo systemctl reboot
sudo -i
curl -sfL https://get.rke2.io | INSTALL_RKE2_CHANNEL=v1.27 INSTALL_RKE2_TYPE=server sh -
cat <<EOF >> /etc/rancher/rke2/config.yaml
node-taint:
- "CriticalAddonsOnly=true:NoExecute"
EOF
export PROXY_DOMAIN=
cat <<EOF >> /etc/sysconfig/rke2-server
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
diff --git a/.SRCINFO b/.SRCINFO | |
index f4dbf15..ffe1aaa 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,6 +1,6 @@ | |
pkgbase = kubeseal | |
pkgdesc = A Kubernetes controller and tool for one-way encrypted Secrets | |
- pkgver = 0.26.2 | |
+ pkgver = 0.27.2 | |
pkgrel = 1 |
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
From 697b506f5b23269f2ffadf29f5f93adcede094b1 Mon Sep 17 00:00:00 2001 | |
From: mundry <[email protected]> | |
Date: Fri, 28 Oct 2016 20:36:30 +0200 | |
Subject: [PATCH 1/1] Introduce access_log variable time_iso8601_ms. | |
A new variable $time_iso8601_ms has been introduced to the http and | |
stream log modules to log the request time in ISO 8601 format with | |
millisecond precision. | |
--- | |
src/core/ngx_times.c | 16 +++++++++++++++- |
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/env python2.7 | |
#-*- encoding: utf-8 -*- | |
# Usage: | |
# ./nginx_version.py /path/to/nginx/src/core/nginx.h <git hash> | |
# or: | |
# /path/to/nginx-codebase-root$ /path/to/nginx_version.py <git hash> | |
from os.path import abspath | |
from re import compile |
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
--- a/config | |
+++ b/config | |
@@ -66,8 +66,8 @@ ngx_feature_test="BrotliEncoderCreateInstance(NULL, NULL, NULL)" | |
# auto-discovery | |
ngx_feature="Brotli library" | |
-ngx_feature_path= | |
-ngx_feature_libs="-lbrotlienc -lm" | |
+ngx_feature_path="$(pkg-config --cflags-only-I libbrotlienc | sed 's/-I//g')" | |
+ngx_feature_libs="$(pkg-config --libs libbrotlienc)" |
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
package main | |
import ( | |
"crypto/sha256" | |
"crypto/sha512" | |
"encoding/base64" | |
"fmt" | |
"io/ioutil" | |
"log" | |
) |
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
diff --git a/hphp/runtime/base/runtime-option.cpp b/hphp/runtime/base/runtime-option.cpp | |
index 3a3d25a..9903996 100644 | |
--- a/hphp/runtime/base/runtime-option.cpp | |
+++ b/hphp/runtime/base/runtime-option.cpp | |
@@ -179,7 +179,7 @@ std::string RuntimeOption::ForceCompressionURL; | |
std::string RuntimeOption::ForceCompressionCookie; | |
std::string RuntimeOption::ForceCompressionParam; | |
bool RuntimeOption::EnableKeepAlive = true; | |
-bool RuntimeOption::ExposeHPHP = true; | |
+std::string RuntimeOption::ExposeHPHP = "full"; |
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/env python2.7 | |
# -*- coding: utf-8 -*- | |
# Utility script to help find missing or obsolete source files listed in | |
# libbrotli's Makefile.am. | |
# | |
# Usage: | |
# $ cd libbrotli | |
# $ ./libfiles.py |
Self-signed SSL Certificate one-liner
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout domain.key -out domain.crt
openssl req
- generate a certificate-x509
- use x509 specification-nodes
- no DES, don't encrypt the private key-days 365
- valid for 1 year
NewerOlder