add blog site share
This commit is contained in:
parent
3b5258646f
commit
4ff663dfdf
1 changed files with 13 additions and 2 deletions
|
|
@ -50,12 +50,23 @@ in
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
recommendedProxySettings = true;
|
|
||||||
proxyPass = "http://127.0.0.1:9111";
|
proxyPass = "http://127.0.0.1:9111";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"blog.joshuabell.xyz" = {
|
||||||
|
addSSL = true;
|
||||||
|
sslCertificate = "/var/lib/acme/joshuabell.xyz/fullchain.pem";
|
||||||
|
sslCertificateKey = "/var/lib/acme/joshuabell.xyz/key.pem";
|
||||||
|
locations = {
|
||||||
"/share" = {
|
"/share" = {
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
recommendedProxySettings = true;
|
proxyPass = "http://127.0.0.1:9111";
|
||||||
|
extraConfig = ''
|
||||||
|
auth_request off;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"/assets" = {
|
||||||
proxyPass = "http://127.0.0.1:9111";
|
proxyPass = "http://127.0.0.1:9111";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
auth_request off;
|
auth_request off;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue