This commit is contained in:
Sergei Poljanski 2023-08-03 00:09:45 +03:00
commit c16aef424a
12 changed files with 1 additions and 19902 deletions

View file

@ -24,10 +24,4 @@ server {
ssl_certificate_key /etc/letsencrypt/live/asxp.io/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
##
# Nginx Bad Bot Blocker Includes
# REPO: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
##
#include /etc/nginx/bots.d/ddos.conf;
#include /etc/nginx/bots.d/blockbots.conf;
}

View file

@ -10,7 +10,7 @@ server {
}
if ($host = http://www.$host$request_uri;) {
if ($host = http://www.$host$request_uri) {
return 301 https://$host$request_uri;
}