nginx conf tweaks

This commit is contained in:
Eric Nemchik 2022-08-23 09:27:39 -05:00
parent 07d6601bc5
commit 03b098a796

View File

@ -17,10 +17,11 @@ server {
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
try_files $uri $uri/ /index.php?$query_string;
try_files $uri $uri/ /index.php$is_args$args;
}
## https://github.com/getgrav/grav/blob/develop/webserver-configs/nginx.conf
## Begin - Security
# deny all direct access for these folders
location ~* /(\.git|cache|bin|logs|backup|tests)/.*$ { return 403; }