Skip to content

Instantly share code, notes, and snippets.

View andresaquino's full-sized avatar
🏠
Working from home

Andrés Aquino andresaquino

🏠
Working from home
View GitHub Profile
@andresaquino
andresaquino / real-time-php-fpm-status.md
Created October 23, 2020 16:52 — forked from Jiab77/real-time-php-fpm-status.md
Real-time PHP-FPM Status

Real-time PHP-FPM Status

This gist will explain you how to enable an undocumented feature of PHP-FPM which will give a real-time performance stats.

Everybody knows the famous phpinfo() and the page it generates, right? Then the real-time PHP-FPM status page design is very similar.

image

Some informations from the top are not displayed to avoid security issues.

Enable PHP-FPM Status

@andresaquino
andresaquino / readme.md
Created May 7, 2021 07:45 — forked from benstr/readme.md
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

SSL
1. 1-way SSL (a.k.a. Server Authentication)
1. Client confirms the server’s identity via the server’s provided certificate by verifying it with a CA (Certificate Authority).
2. Then the Public Key contained in the received certificate is used along the Session Key to encrypt all sent/received messages.
2. 2-way SSL (a.k.a. Client Authentication, Mutual Authentication)
1. Server and Client confirm the other’s identity after each share their own public certificate by verifying it with a CA.
2. Then the Public Key contained in the received certificate is used along the Session Key to encrypt all sent messages.
Keystore