h5bp/server-configs-nginx

Nginx HTTP server boilerplate configs

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 5th, 2026
Created on July 28th, 2013
Open Issues & Pull Requests: 1 (+0)
GitHub issues: Enabled
Number of forks: 1,518
Total Stargazers: 11,560 (+0)
Total Subscribers: 371 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.7 hours
Mean response time: 2.7 hours
90th percentile: 7.1 hours
Tracked items: 3

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (1)
  • good first issue (1)
  • help wanted (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Nginx Server Configs is a collection of configuration files that improve website performance and security while ensuring correct content-type serving and cross-domain resource accessibility.

The project addresses the challenge of configuring Nginx securely and efficiently by providing a curated set of boilerplate configuration snippets and templates. It works by organizing configurations into modular pieces: individual config snippets in the h5bp directory that can be selectively included, combined config files that provide convenient defaults, location directive files for specific URL patterns, and server templates for common hosting scenarios. Users can either reference these configurations to adapt their existing setup or replace their Nginx config directory entirely with the repository.

The tool suits developers and system administrators managing Nginx servers who want to follow established best practices without building configurations from scratch. It works well for projects ranging from simple static sites to more complex applications requiring specific security headers, caching rules, and content-type handling. The modular structure means you can adopt only the pieces relevant to your use case: the basic.conf file provides a minimal recommended foundation, while the h5bp directory offers granular control for those needing more customization. The project requires Nginx version 1.8.0 or later and expects users to review the main nginx.conf file to verify settings like user, error_log, pid, and access_log are appropriate for their specific installation.

The project maintains active engagement with contributors through documented guidelines for bug reports, feature requests, and pull requests. Development activity shows consistent attention to the codebase with regular updates addressing both configuration improvements and community feedback. The repository structure and documentation suggest ongoing maintenance focused on keeping configurations aligned with current Nginx capabilities and security standards.