Install the OpenSSL on Debian based systems
sudo apt-get install openssl| default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
| default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
| default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
| # Advanced config for NGINX | |
| server_tokens off; | |
| add_header X-XSS-Protection "1; mode=block"; | |
| add_header X-Content-Type-Options nosniff; | |
| # Redirect all HTTP traffic to HTTPS | |
| server { | |
| listen 80; | |
| server_name www.domain.com domain.com; | |
| return 301 https://$host$request_uri; |
| ### Keybase proof | |
| I hereby claim: | |
| * I am napramirez on github. | |
| * I am napramirez (https://keybase.io/napramirez) on keybase. | |
| * I have a public key ASDj0S2QFiHYFTjkhsb7-VCG1ciqFw-SOLgM7ZAxB_UVXQo | |
| To claim this, I am signing this object: |
| curl \ | |
| -d 'client_id=YOUR_KEYCLOAK_CLIENT' \ | |
| -d 'username=YOUR_USERNAME' \ | |
| -d 'password=YOUR_PASSWORD' \ | |
| -d 'grant_type=password' \ | |
| 'https://YOUR_KEYCLOAK_SERVER_HOST/auth/realms/YOUR_REALM/protocol/openid-connect/token' \ | |
| | python -m json.tool |
git clone [email protected]:Mashape/docker-kong.git
cd docker-kong/compose
docker-compose up
| #!/bin/sh | |
| # | |
| # Copy of https://gist.githubusercontent.com/arichika/b1a1413b554734ae964f/raw/e657ad2dc4ddab60750d26e87add61f9b988d887/ConvertLetsPemToPfx.sh | |
| # | |
| pemsdir='/etc/letsencrypt/archive' # default search PEMs | |
| pfxspath='/share/letsencrypt/archive' # dest of the PFXs | |
| passfile='/share/letsencrypt/pass.txt' # password to be applied to the PFX file | |
| for cnvifull in `find "${pemsdir}" -name 'cert*.pem' -o -name '*chain*.pem'` |
| [General] | |
| Days Meta Infos=30 | |
| Modified Notification=false | |
| Restore Window Configuration=true | |
| Save Meta Infos=true | |
| Show Full Path in Title=false | |
| Show Status Bar=true | |
| Startup Session=manual | |
| [Kate Document Defaults] |
| [Animation] | |
| Frames=10 | |
| [Desktop Entry] | |
| DefaultProfile=Shell.profile | |
| [Dialogs] | |
| FirstRun=false | |
| [Favorite Profiles] |
| version: "2" | |
| settings: | |
| conductor_base: centos:7 | |
| services: | |
| app: | |
| from: centos:7 | |
| entrypoint: ['/usr/bin/entrypoint.sh'] | |
| privileged: true |