nginx: Update configuration
This commit is contained in:
parent
7a9fe6af95
commit
b2b56817ba
5 changed files with 19 additions and 0 deletions
|
@ -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 = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue