diff options
Diffstat (limited to 'nixops/modules/websites/tools')
-rw-r--r-- | nixops/modules/websites/tools/tools/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixops/modules/websites/tools/tools/default.nix b/nixops/modules/websites/tools/tools/default.nix index 7781928..e0181c4 100644 --- a/nixops/modules/websites/tools/tools/default.nix +++ b/nixops/modules/websites/tools/tools/default.nix | |||
@@ -80,6 +80,32 @@ in { | |||
80 | ]; | 80 | ]; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | security.acme.certs."eldiron".extraDomains."outils.immae.eu" = null; | ||
84 | services.myWebsites.tools.vhostConfs.outils = { | ||
85 | certName = "eldiron"; | ||
86 | hosts = [ "outils.immae.eu" ]; | ||
87 | root = null; | ||
88 | extraConfig = [ | ||
89 | '' | ||
90 | RedirectMatch 301 ^/mediagoblin(.*)$ https://mgoblin.immae.eu$1 | ||
91 | |||
92 | RedirectMatch 301 ^/ether(.*)$ https://ether.immae.eu$1 | ||
93 | |||
94 | RedirectMatch 301 ^/nextcloud(.*)$ https://cloud.immae.eu$1 | ||
95 | RedirectMatch 301 ^/owncloud(.*)$ https://cloud.immae.eu$1 | ||
96 | |||
97 | RedirectMatch 301 ^/carddavmate(.*)$ https://dav.immae.eu/infcloud$1 | ||
98 | RedirectMatch 301 ^/caldavzap(.*)$ https://dav.immae.eu/infcloud$1 | ||
99 | RedirectMatch 301 ^/caldav.php(.*)$ https://dav.immae.eu/caldav.php$1 | ||
100 | RedirectMatch 301 ^/davical(.*)$ https://dav.immae.eu/davical$1 | ||
101 | |||
102 | RedirectMatch 301 ^/taskweb(.*)$ https://task.immae.eu/taskweb$1 | ||
103 | |||
104 | RedirectMatch 301 ^/(.*)$ https://tools.immae.eu/$1 | ||
105 | '' | ||
106 | ]; | ||
107 | }; | ||
108 | |||
83 | services.myPhpfpm.poolConfigs = { | 109 | services.myPhpfpm.poolConfigs = { |
84 | adminer = adminer.phpFpm.pool; | 110 | adminer = adminer.phpFpm.pool; |
85 | ttrss = ttrss.phpFpm.pool; | 111 | ttrss = ttrss.phpFpm.pool; |