Apache HTTP Server /etc/httpd/conf.modules.d/00-proxy.conf

Original 📋 Red Hat Enterprise Linux 9 (Plow) 18 Zeilen

Läuft auf

Ansicht:
Red Hat Enterprise Linux 9 (Plow)
Gleich auf:
CentOS Stream 9
Andere Versionen:

Details

Größe
18 Zeilen
MD5
0e961a90c31f7362e923fdc1c553f899
SHA256
35f6ba21d53ce72f0f33e34dd7b3cae8968c964f1361693725d8c4d51dcab852
/etc/httpd/conf.modules.d/00-proxy.conf
# This file configures all the proxy modules:
LoadModule proxy_module modules/mod_proxy.so
LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_express_module modules/mod_proxy_express.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so
LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
LoadModule proxy_uwsgi_module modules/mod_proxy_uwsgi.so
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

Kopieren & Einfügen

curl:
curl https://exampleconfig.com/api/v1/config/original/0e961a90c31f7362e923fdc1c553f899?hint=00-proxy.conf
wget:
wget -O 00-proxy.conf https://exampleconfig.com/api/v1/config/original/0e961a90c31f7362e923fdc1c553f899?hint=00-proxy.conf

Für KI-Agenten

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/0e961a90c31f7362e923fdc1c553f899?hint=00-proxy.conf' /><config><app>Apache HTTP Server</app><os>Red Hat Enterprise Linux 9 (Plow)</os><location>/etc/httpd/conf.modules.d/00-proxy.conf</location><lines>18</lines><md5>0e961a90c31f7362e923fdc1c553f899</md5><sha256>35f6ba21d53ce72f0f33e34dd7b3cae8968c964f1361693725d8c4d51dcab852</sha256></config></prompt>

Füge es in Claude, ChatGPT oder einen anderen KI-Assistenten ein.

Apache HTTP Server installieren

Alpine Linux

sudo apk add apache2

Debian

sudo apt update && sudo apt install apache2

Red Hat Enterprise Linux

sudo yum install httpd

Ubuntu

sudo apt update && sudo apt install apache2

Ablageort

Pfad
/etc/httpd/conf.modules.d/00-proxy.conf
Verzeichnis
/etc/httpd/conf.modules.d/
Bedeutung
Systemweites Konfig-Verzeichnis
Beschreibung
In /etc/ liegen systemweite Einstellungen, die alle Benutzer betreffen.

FAQ

Wann sollte ich 00-proxy.conf verwenden?

Nutze sie, um eine fehlende Default-Datei wiederherzustellen, zu prüfen, was ausgeliefert wurde, oder sie gegen deine aktuelle Apache HTTP Server-Config zu diffen.

Wie stelle ich die Defaults von Apache HTTP Server wieder her?

Lad die Datei runter, sichere die aktuelle in /etc/httpd/conf.modules.d/00-proxy.conf, ersetze sie und lade Apache HTTP Server neu oder starte es neu.

Ist 00-proxy.conf für den produktiven Einsatz geeignet?

Das ist der Hersteller-Default für Red Hat Enterprise Linux 9 (Plow). Nimm sie als Basis und prüf Security- und Performance-Einstellungen, bevor du sie produktiv nutzt.

Wie unterscheidet sich das von anderen OS-Versionen?

Defaults variieren je nach Distro und Version. Diese Version passt zu Red Hat Enterprise Linux 9 (Plow).

Kann ich das fürs Troubleshooting von Apache HTTP Server nutzen?

Ja. Diff es gegen deine Version, finde Abweichungen und stell nur die Teile wieder her, die du brauchst.