changes
This commit is contained in:
@@ -37,18 +37,30 @@ in {
|
||||
|
||||
error_page 404 /index.php;
|
||||
'';
|
||||
locations."/favicon.ico".extraConfig = ''
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
'';
|
||||
locations."/robots.txt".extraConfig = ''
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
'';
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
try_files $uri $uri/ /index.php$is_args$args;
|
||||
'';
|
||||
locations = {
|
||||
"/favicon.ico".extraConfig = ''
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
'';
|
||||
"/robots.txt".extraConfig = ''
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
'';
|
||||
|
||||
"~ ^/[^/]+/".extraConfig = ''
|
||||
try_files $uri $uri/index.php /index.php;
|
||||
'';
|
||||
|
||||
# "/".extraConfig = ''
|
||||
# try_files $uri $uri/index.php;
|
||||
# '';
|
||||
#
|
||||
# "~ /$".extraConfig = ''
|
||||
# try_files $uri $uri/index.php /index.php;
|
||||
# '';
|
||||
};
|
||||
|
||||
phpPackage = pkgs.php82;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user