## Start of configuration add by letsencrypt container location ^~ /.well-known/acme-challenge/ { auth_basic off; auth_request off; allow all; root /usr/share/nginx/html; try_files $uri =404; break; } ## End of configuration add by letsencrypt container # This is needed for legacy support location = / { rewrite ^ http://gitea.unboundedpress.org/code/mwinter/ redirect; } include /etc/nginx/bots.d/ddos.conf; include /etc/nginx/bots.d/blockbots.conf;