ma nginx: use gzip settings, update hostname
This commit is contained in:
parent
2148318cd5
commit
b5d57ea99e
@ -75,6 +75,7 @@ in {
|
||||
|
||||
services.nginx = {
|
||||
enable = mkDefault true;
|
||||
recommendedGzipSettings = true;
|
||||
virtualHosts = {
|
||||
"${ext-dom}" = {
|
||||
#serverAliases = [
|
||||
@ -83,14 +84,6 @@ in {
|
||||
#];
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
# recommendedGzipSettings = true;
|
||||
extraConfig = ''
|
||||
gzip on;
|
||||
gzip_buffers 4 32k;
|
||||
gzip_types text/plain application/x-javascript text/css;
|
||||
default_type text/plain;
|
||||
|
||||
'';
|
||||
locations = {
|
||||
"/" = {
|
||||
root = wiki-dir;
|
||||
|
@ -2,8 +2,7 @@
|
||||
{
|
||||
services.nginx = {
|
||||
enable = lib.mkDefault true;
|
||||
virtualHosts."misa-felix-hochzeit.ml" = {
|
||||
serverAliases = [ "misa-felix.ml" "www.misa-felix.ml" ];
|
||||
virtualHosts."misa-felix.ml" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations = {
|
||||
|
Loading…
Reference in New Issue
Block a user