fixing restheart reverse proxy bug and final configs for migration
parent
8998fac792
commit
aea048a22a
@ -1,12 +1,2 @@
|
|||||||
## 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
|
|
||||||
include /etc/nginx/bots.d/ddos.conf;
|
include /etc/nginx/bots.d/ddos.conf;
|
||||||
include /etc/nginx/bots.d/blockbots.conf;
|
include /etc/nginx/bots.d/blockbots.conf;
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
# Ignore everything
|
||||||
|
*
|
||||||
|
|
||||||
|
# Allow files and directories
|
||||||
|
!/src
|
||||||
|
|
||||||
|
# Ignore unnecessary files inside allowed directories
|
||||||
|
# This should go after the allowed directories
|
||||||
|
**/*~
|
||||||
|
**/*.log
|
||||||
|
**/.DS_Store
|
||||||
|
**/Thumbs.db
|
Loading…
Reference in New Issue