NGINXConfig实用的 Nginx 配置生成工具

联合创作 · 2023-10-01 15:57

NGINXConfig

实用的 Nginx 配置生成工具

特性

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

浏览 10
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报