NGINX Konfiguration - Linux
/etc/nginx/http.d/default.conf
Schnellaktionen
📥 Original herunterladen default.confKonfigurationsdatei-Informationen
Authentisch & Original
Unverändert default.conf von einer frischen Installation.
Linux-Distributions-Unterstützung
📋 Aktuell angezeigt: Alpine Linux v3.21
✓ Auch kompatibel:
⚠ Verschiedene Versionen:
Alpine:
Konfigurationsdatei-Inhalt
18 Zeilen
# This is a default site configuration which will simply return 404, preventing
# chance access to any other virtualhost.
server {
listen 80 default_server;
listen [::]:80 default_server;
# Everything is a 404
location / {
return 404;
}
# You may need this to prevent return 404 recursion.
location = /404.html {
internal;
}
}
Download-Befehle
default.conf •
Lade die 100% original unveränderte Konfigurationsdatei herunter von NGINX
Mit wget:
wget -O default.conf.example https://exampleconfig.com/api/v1/config/original/c4759cd2812220ab542317f54fbbe755?hint=default.conf
Mit curl:
curl https://exampleconfig.com/api/v1/config/original/c4759cd2812220ab542317f54fbbe755?hint=default.conf > default.conf.example
Verwandte Konfigurationsdateien
/etc/nginx/http.d/default.conf
NGINX · Debian 9 (Stretch)
/etc/nginx/http.d/default.conf
NGINX · Debian 9 (Stretch)
/etc/nginx/http.d/default.conf
NGINX · Debian 9 (Stretch)
/etc/nginx/http.d/default.conf
Apache HTTP Server · Alpine Linux v3.21
/etc/nginx/http.d/default.conf
Apache HTTP Server · Alpine Linux v3.21
/etc/nginx/http.d/default.conf
Apache HTTP Server · Alpine Linux v3.21