60

GitHub - valentinxxx/nginxconfig.io: ⚙️ NGiИX config generator generator on ster...

 5 years ago
source link: https://github.com/valentinxxx/nginxconfig.io
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK