/nginxconfig.io

⚙️ NGiИX config generator on steroids 💉

Primary LanguageHTMLMIT LicenseMIT

nginxconfig.io

NGiИX configuration generator

Features

Site

  • Domain
  • Path
  • Document root
  • www subdomain
  • CDN
  • Redirect www to non-www or non-www to www
  • Listen IPv4, IPv6

HTTPS

Security

  • Referrer-Policy
    • no-referrer
    • no-referrer-when-downgrade
    • origin
    • origin-when-cross-origin
    • same-origin
    • strict-origin
    • strict-origin-when-cross-origin
    • unsafe-url
  • Content-Security-Policy
  • X-Frame-Options
  • X-XSS-Protection
  • X-Content-Type-Options
  • server_tokens
  • limit_req (throttle WordPress login)

PHP

  • PHP
  • PHP server
    • TCP
    • HHVM socket
    • 5.x socket
    • 7.x socket
  • PHP backup server
  • WordPress security essentials
  • Drupal security essentials
  • Magento security essentials

Python

  • Python
  • Python server
  • Python backup server

Routing

Cache

  • Assets (css(\.map)?|js(\.map)?)
  • Media
    • Images (jpe?g|png|gif|ico|cur|heic|webp|tiff?)
    • Audio (mp3|m4a|aac|ogg|midi?|wav)
    • Video (mp4|mov|webm|mpe?g|avi|ogv|flv|wmv)
  • SVG (svgz?)
  • Fonts (ttf|ttc|otf|eot|woff2?)

Reverse proxy

  • Reverse proxy
  • Path
  • proxy_pass
  • Proxy headers

Logging

  • access_log
  • error_log
  • access_log by domain
  • error_log by domain
  • log_not_found

nginx

  • worker_processes
  • user
  • pid
  • client_max_body_size

Tools

  • Download generated config
  • Modularized / unified structure (multiple or singe file(s))
  • Share settings
  • Reset

Built With

Resources