coursDir = "/var/lib/buildbot/outputs/cours";
rechercheDir = "/var/lib/buildbot/outputs/recherche";
recettesDir = "/var/lib/buildbot/outputs/recettes";
coursDir = "/var/lib/buildbot/outputs/cours";
rechercheDir = "/var/lib/buildbot/outputs/recherche";
recettesDir = "/var/lib/buildbot/outputs/recettes";
env = config.myEnv.websites.immae;
in {
options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website";
env = config.myEnv.websites.immae;
in {
options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website";
- services.websites.env.production.vhostConfs.immae = {
- certName = "eldiron";
- addToCerts = true;
- hosts = [ "www.immae.eu" "immae.eu" ];
- root = varDir;
- extraConfig = [
+ services.websites.env.production.vhostConfs.immae_production = {
+ certName = "immae";
+ addToCerts = true;
+ certMainHost = "www.immae.eu";
+ hosts = [ "www.immae.eu" "immae.eu" ];
+ root = varDir;
+ extraConfig = [
<LocationMatch /.well-known/(webfinger|host-meta)>
Header always set Referrer-Policy "strict-origin-when-cross-origin"
<LocationMatch /.well-known/(webfinger|host-meta)>
Header always set Referrer-Policy "strict-origin-when-cross-origin"
RequestHeader set X-Forwarded-Proto "https"
RewriteRule ^(.*)$ https://mastodon.immae.eu%{REQUEST_URI} [QSA,L]
RequestHeader set X-Forwarded-Proto "https"
RewriteRule ^(.*)$ https://mastodon.immae.eu%{REQUEST_URI} [QSA,L]