forked from wurzel/fruitbasket
on-metal updates
- grav fixes - course management migration
This commit is contained in:
parent
89404e80d3
commit
606c7185e0
2 changed files with 10 additions and 2 deletions
|
@ -30,13 +30,20 @@ in
|
|||
};
|
||||
|
||||
services.nginx = {
|
||||
|
||||
virtualHosts."www.${config.fsr.domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/".return = "301 $scheme://ifsr.de$request_uri";
|
||||
|
||||
};
|
||||
virtualHosts."${config.fsr.domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/srv/web/ifsrde";
|
||||
locations = {
|
||||
"/" = {
|
||||
tryFiles = "$uri $uri/ /index.php?$query_string;";
|
||||
tryFiles = "$uri $uri/ /index.php?$query_string";
|
||||
};
|
||||
"~ \.php$" = {
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue