Skip to content

Instantly share code, notes, and snippets.

View GAS85's full-sized avatar
😁
Live is on going

Georgiy Sitnikov GAS85

😁
Live is on going
View GitHub Profile
@GAS85
GAS85 / aria2_apache2_reverseProxy.md
Created February 12, 2020 11:45
Aria2 + Ubuntu 18.04 + Apache2 + Reverse Proxy + Web UI
OS: Ubuntu 18.04 Apache/2.4.18+
Aim: to ensure Aria2 access via reverse proxy
IP Addr of your Aria2 server is 192.168.0.111
Your local IP network is 192.168.0.0/24
Your domain is YourDomain.com
Aria2 installed as descibed https://gist.github.com/GAS85/79849bfd09613067a2ac0c1a711120a6

1. Ensure Reverse Proxy

a. Using Apache as a reverse proxy

@GAS85
GAS85 / apache2_pihole.md
Last active May 24, 2024 18:57
Apache2 config for pihole with custom / non-admin link
@GAS85
GAS85 / fail2ban_cacti.md
Created May 20, 2020 07:54
Harden Cacti with Fail2Ban

Fail2Ban and Cacti

Prerequsits

  • Ubuntu 20.04
  • cacti, fail2ban and e.g. iptables are installed

Setup

@GAS85
GAS85 / apache2_transmission_fail2ban.md
Created June 22, 2020 08:04
Harden Transmission and Apache2 Reverse Proxy with fail2ban

Fail2ban and Transmission with Apache2 Reverse Proxy

Prerequsits

@GAS85
GAS85 / apache2_portainer_fail2ban.md
Last active October 21, 2024 16:28
Harden Portainer and Apache2 Reverse Proxy with fail2ban

Fail2ban and Portainer with Apache2 Reverse Proxy

Prerequsits

  • Ubuntu 22.04
  • Portainer with Remote access
  • apache2 as reverse proxy e.g. as described here
  • fail2ban and e.g. iptables are installed
  • Portainer is accesible via https://YourDomain/portainer/
@GAS85
GAS85 / http2_apache2_ubuntu20.04.md
Last active April 2, 2025 16:19
How to Enable HTTP/2 in Apache 2.4 on Ubuntu 20.04

Based on https://gist.github.com/GAS85/8dadbcb3c9a7ecbcb6705530c1252831

Requirements

  • A self-managed VPS or dedicated server with Ubuntu 20.04 running Apache 2.4.xx.
  • 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.

Step 1: Install Apache2

Per default it will be apache2 version 2.4.41 what is enought for http2 support.

@GAS85
GAS85 / http3_apache2_ubuntu24.04.md
Last active February 10, 2025 08:45
How to Enable HTTP/3 in Apache 2.4 on Ubuntu 24.04

Requirements

  • A self-managed VPS or dedicated server with Ubuntu 24.04 running Apache 2.4.xx.
  • A registered domain name with working HTTPS (TLS/SSL). HTTP/2 and HTTP/3 only works alongside HTTPS because most browsers, including Firefox and Chrome, don’t support HTTP/2 or HTTP/3 in cleartext (non-TLS) mode.

Architecture

After multiple tries with apche2 recompiling with a different modules to support quic and http3, I simply run nginx container that will overtake only UDP traffic and forward it to the apache2 as http2 via TCP. So, no, it is not real "http3 apache2 support", but works pretty well and you do not need to change anything on your Apache2 sever.