Skip to content

Instantly share code, notes, and snippets.

View PacodiazDG's full-sized avatar
💭
Maximum call stack size exceeded

Francisco Javier DLG PacodiazDG

💭
Maximum call stack size exceeded
  • Mexico, Aguascalientes
View GitHub Profile
@PacodiazDG
PacodiazDG / http2_apache2_ubuntu16.04.md
Created May 1, 2020 02:08 — forked from GAS85/http2_apache2_ubuntu16.04.md
How to Enable HTTP/2 in Apache 2.4 on Ubuntu 16.04

Requirements

  • A self-managed VPS or dedicated server with Ubuntu 16.04 running Apache 2.4.xx.
  • For Ubuntu 18.04 please read here --> https://gist.github.com/GAS85/8dadbcb3c9a7ecbcb6705530c1252831
  • A registered domain name with working HTTPS (TLS/SSL). HTTP/2 only works alongside HTTPS because most browsers, including Firefox and Chrome, don’t support HTTP/2 in cleartext (non-TLS) mode.
@PacodiazDG
PacodiazDG / iptables.sh
Created April 21, 2019 03:28 — forked from potem/iptables.sh
Basic IPTables server firewall
# This script is a basic IPTables server firewall with defenses against some
# of the most common attack types.
#
# Basically you just have to add/remove ports in the first part of this script
# and you should be ready to go.
#
# Help, comments and improvements always appreciated, also, feel free to
# use, change and distribute. Cheers
ip=/usr/sbin/iptables
@PacodiazDG
PacodiazDG / http-get-dos.conf
Created April 12, 2017 06:01 — forked from SamStudio8/http-get-dos.conf
Simple fail2ban DOS jail
# Fail2Ban configuration file
#
# NOTE
# You should set up in the jail.conf file, the maxretry and findtime carefully in order to avoid false positives.
#
# Author: http://www.go2linux.org
# Modified by: samnicholls.net
# * Mon 6 Jun 2016 - Updated failregex to capture HOST group correctly
[Definition]