mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 10:09:49 +00:00
15 lines
309 B
Nginx Configuration File
15 lines
309 B
Nginx Configuration File
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
server_name localhost;
|
|
charset UTF-8;
|
|
index index.html;
|
|
root /var/www/html;
|
|
|
|
# Add index.php to the list if you are using PHP
|
|
index index.html index.htm index.nginx-debian.html;
|
|
|
|
location / {
|
|
root /var/www/html/;
|
|
}
|
|
}
|