Still cleaning...

This commit is contained in:
Sergei Poljanski 2023-08-03 00:14:15 +03:00
commit 1e755c7f9e
3 changed files with 13 additions and 87 deletions

View file

@ -24,11 +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

@ -1,11 +1,12 @@
server {
listen 80;
listen 443 ssl;
server_name upload.asxp.io;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name upload.asxp.io www.upload.asxp.io;
location /content {
root /var/telegabber/content/.. ;
}
ssl_certificate /etc/letsencrypt/live/asxp.io/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/asxp.io/privkey.pem; # managed by Certbot
location /content {
root /var/telegabber/content/.. ;
}
ssl_certificate /etc/letsencrypt/live/asxp.io/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/asxp.io/privkey.pem;
}