Skip to content

Instantly share code, notes, and snippets.

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

Vijay Nallagatla vijaynallagatla

🏠
Working from home
View GitHub Profile
@vijaynallagatla
vijaynallagatla / nginx.conf
Created February 22, 2022 11:25
NGINX:v1.17.0 With modSecurity:v3.0.0 and Brotli Custom Docker Image for Production
worker_processes auto;
worker_rlimit_core 500M;
events {
accept_mutex off;
worker_connections 1024;
multi_accept on;
use epoll;
}
http {
# MIME
@vijaynallagatla
vijaynallagatla / Dockerfile
Created February 22, 2022 11:18
Creating Docker Image to include ModSecurity:3.0.0 and Brotli
FROM ubuntu:18.04 as modsecurity-build
LABEL maintainer="Vijay <[email protected]>"
# Install Prereqs
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qq && \
apt install -qq -y --no-install-recommends --no-install-suggests \
ca-certificates \
automake \
autoconf \