fix: owncast websockets, forgejo max body size in nginx #38
|
@ -3,7 +3,7 @@
|
||||||
Clone this repository:
|
Clone this repository:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone gitea@git.pub.solar:pub-solar/infra.git
|
git clone https://git.pub.solar/pub-solar/infra-new.git
|
||||||
```
|
```
|
||||||
|
|
||||||
then, install [the package manager nix](https://nixos.org/download).
|
then, install [the package manager nix](https://nixos.org/download).
|
||||||
|
|
|
@ -25,7 +25,12 @@
|
||||||
return 302 /user/oauth2/keycloak;
|
return 302 /user/oauth2/keycloak;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
locations."/".proxyPass = "http://127.0.0.1:3000";
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:3000";
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 1G;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
|
|
|
@ -8,7 +8,10 @@
|
||||||
services.nginx.virtualHosts."stream.pub.solar" = {
|
services.nginx.virtualHosts."stream.pub.solar" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://127.0.0.1:5000";
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:5000";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Owncast
|
# Owncast
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
./apps/mailman.nix
|
./apps/mailman.nix
|
||||||
./apps/mastodon.nix
|
./apps/mastodon.nix
|
||||||
./apps/nextcloud.nix
|
./apps/nextcloud.nix
|
||||||
|
./apps/owncast.nix
|
||||||
./apps/nginx-mastodon.nix
|
./apps/nginx-mastodon.nix
|
||||||
./apps/nginx-mastodon-files.nix
|
./apps/nginx-mastodon-files.nix
|
||||||
./apps/nginx-website.nix
|
./apps/nginx-website.nix
|
||||||
|
|
Loading…
Reference in a new issue