We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c086719 commit 5022569Copy full SHA for 5022569
install/deb/templates/web/nginx/php-fpm/gitea.stpl
@@ -24,8 +24,9 @@ server {
24
25
include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
26
27
- location ~ /.well-known {
28
- allow all;
+ location ~ /\.(?!well-known\/) {
+ deny all;
29
+ return 404;
30
}
31
32
location / {
install/deb/templates/web/nginx/php-fpm/gitea.tpl
@@ -15,8 +15,9 @@ server {
15
16
include %home%/%user%/conf/web/%domain%/nginx.forcessl.conf*;
17
18
19
20
21
22
23
0 commit comments