Update greatyamada config
This commit is contained in:
parent
5c4921895e
commit
97bf3bb177
22 changed files with 556 additions and 212 deletions
|
@ -1,10 +1,16 @@
|
|||
{ ... }: {
|
||||
networking.firewall.allowedTCPPorts = [ 443 ];
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedTlsSettings = true;
|
||||
virtualHosts = {
|
||||
"rcia.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
# enableACME = true;
|
||||
useACMEHost = "rcia.dev";
|
||||
serverAliases = [ "*.rcia.dev" ];
|
||||
# locations."/" = { root = /var/www/public; };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue