feat: working tunnel with audio books
This commit is contained in:
parent
d4a85d3d91
commit
dbd396f613
4 changed files with 27 additions and 14 deletions
|
|
@ -1,8 +1,7 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
|
||||
let
|
||||
domain = "books.sondell.org";
|
||||
# derp = "hi";
|
||||
in
|
||||
{
|
||||
#
|
||||
|
|
@ -11,16 +10,13 @@ in
|
|||
port = 8000;
|
||||
};
|
||||
|
||||
services.nginx.enable = true;
|
||||
|
||||
services.nginx.virtualHosts.${domain} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
default = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8000/";
|
||||
proxyWebsockets = true;
|
||||
# extraConfig = ''
|
||||
# access_log /var/log/nginx/access.log main if=$forgejo_access_log;
|
||||
# '';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue