add the old site
This commit is contained in:
parent
8d326632d3
commit
9eaddef14e
1 changed files with 30 additions and 23 deletions
|
@ -2,10 +2,10 @@
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
# The main nginx domain
|
# The main nginx domain
|
||||||
nginx.virtualHosts."nixfox.ca" = {
|
nginx.virtualHosts = {
|
||||||
|
"nixfox.ca" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
|
|
||||||
root = "/var/www/nixfox-reborn/public";
|
root = "/var/www/nixfox-reborn/public";
|
||||||
|
|
||||||
locations = {
|
locations = {
|
||||||
|
@ -33,6 +33,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"old.nixfox.ca" = {
|
||||||
|
enableACME = true;
|
||||||
|
addSSL = true;
|
||||||
|
root = "/var/www/landing-page";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable PHP for some fancy stuff
|
# Enable PHP for some fancy stuff
|
||||||
phpfpm.pools.nginx = {
|
phpfpm.pools.nginx = {
|
||||||
user = "nobody";
|
user = "nobody";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue