Compare commits
2 commits
5544f0d6c0
...
97e544b3f2
Author | SHA1 | Date | |
---|---|---|---|
97e544b3f2 | |||
f60c305e7e |
1 changed files with 8 additions and 0 deletions
|
@ -37,6 +37,7 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = "/opt/www/stitchy.moe/public";
|
root = "/opt/www/stitchy.moe/public";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
add_header 'Access-Control-Allow-Origin' '*' always;
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
location = /404.html {
|
location = /404.html {
|
||||||
internal;
|
internal;
|
||||||
|
@ -57,6 +58,13 @@ in {
|
||||||
proxyPass = "http://127.0.0.1:9008";
|
proxyPass = "http://127.0.0.1:9008";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"syncv3.stitchy.moe" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8008";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue