changes
This commit is contained in:
parent
d8db7df64e
commit
c9a024840b
20 changed files with 301 additions and 70 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue