os-nginx: possibility to dis-/enable brotli within the template per server

オープン
#5,845 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
nginx, php
領域
backend

調査の方向性

Start by reading the os-nginx server template and its existing Brotli settings; the issue does not name a file or test, so locate these in the plugin first. The change should let each server enable or disable Brotli through the GUI and generated configuration. Check the result against the global setting and the per-server behavior described in the issue.

索引モデルが issue の本文から書いたものです。

説明

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
The recent security incidents have shown that it is beneficial to be able to disable certain modules globally in the Nginx reverse proxy within the Nginx plugin. This way, you can disable Brotli with a single click in the GUI, for example, instead of having to place the respective configuration in post-configuration files for each defined server. Placing it in the global configuration is currently not possible, since you can only define Brotli on or off once.

Describe the solution you'd like
^see problem description

Describe alternatives you've considered
/bin/sh -c 'for id in ab849699-245a-4fbeasdf6ddfa1a0 646ced87-d329-421e-basdfb021092d50 d8a060aa-73e4-40e4-bcasdfe47ff167 da7c93e3-6201-4a76-95f6-bc77sdfga; do mkdir -p "/usr/local/etc/nginx/${id}_post"; printf "%s\n" "brotli off;" "brotli_static off;" > "/usr/local/etc/nginx/${id}_post/99-disable-brotli.conf"; done'

主要言語
PHP
スター
1.2k
フォーク
926
平均マージ
1日 10時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opnsense/plugins のほかの issue

opnsense/plugins の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。