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

Abierto
#5,845 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
nginx, php
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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'

Lenguaje dominante
PHP
Estrellas
1.2k
Forks
926
Merge medio
1 d 10 h
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opnsense/plugins

Todos los issues de opnsense/plugins

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.