1
0
Fork 0

nginx: Update configuration

This commit is contained in:
Daniel Kempkens 2023-02-20 20:24:34 +01:00
parent 7a9fe6af95
commit b2b56817ba
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 19 additions and 0 deletions

View file

@ -40,6 +40,10 @@ in
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
virtualHosts."anonymous-overflow.only.internal" = { virtualHosts."anonymous-overflow.only.internal" = {
listen = [ listen = [
{ {

View file

@ -10,6 +10,10 @@
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
virtualHosts."libreddit.only.internal" = { virtualHosts."libreddit.only.internal" = {
listen = [ listen = [
{ {

View file

@ -82,6 +82,10 @@ in
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
virtualHosts."${web-domain}" = { virtualHosts."${web-domain}" = {
listen = [ listen = [
{ {

View file

@ -53,6 +53,10 @@ in
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
virtualHosts."nitter.only.internal" = { virtualHosts."nitter.only.internal" = {
listen = [ listen = [
{ {

View file

@ -3,6 +3,9 @@
{ {
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
# Documentation # Documentation
virtualHosts = builtins.listToAttrs (builtins.map virtualHosts = builtins.listToAttrs (builtins.map