Fix unifi web sockets
All checks were successful
ShellCheck / shellcheck (push) Successful in 22s

This commit is contained in:
Mathieu Strypsteen 2024-04-16 09:23:44 +02:00
parent e85c775dc8
commit 05200dbf1c
Signed by: mathieu
GPG key ID: 782A42E461BC6824
4 changed files with 7 additions and 2 deletions

View file

@ -3,10 +3,14 @@ server {
listen 443 ssl;
listen [::]:443 ssl;
include snippets/headers.conf;
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'" always;
location / {
set $upstream systemd-unifi.;
proxy_pass https://$upstream:8443;
proxy_ssl_verify off;
include snippets/proxy.conf;
proxy_http_version 1.1;
proxy_set_header Connection upgrade;
proxy_set_header Upgrade $http_upgrade;
}
}

View file

@ -1,7 +1,7 @@
FROM node:20-alpine
RUN apk upgrade
ENV NEXT_TELEMETRY_DISABLED 1
RUN wget -O - https://github.com/enricoros/big-AGI/archive/refs/tags/v1.15.0.tar.gz | tar xz
RUN wget -O - https://github.com/enricoros/big-AGI/archive/refs/tags/v1.15.1.tar.gz | tar xz
RUN mv big-AGI-* big-AGI
WORKDIR /big-AGI
RUN mv middleware_BASIC_AUTH.ts middleware.ts

View file

@ -2,6 +2,7 @@
set -e
cp -R desktop/* laptop/* /
sh setup-desktop.sh
systemctl disable auditd
systemctl enable --now sshd
systemctl mask --global grub-boot-success.timer
flatpak remote-add --if-not-exists flathub /usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo

View file

@ -3,6 +3,6 @@ set -e
cp -R desktop/* qubes-fedora/* /
dnf config-manager --set-enabled qubes-vm-r4.2-security-testing qubes-vm-r4.2-current-testing rpmfusion-free rpmfusion-free-updates
dnf install --allowerasing bash-completion bind-utils butane default-fonts fcitx5-anthy fcitx5-autostart fedora-flathub-remote ffmpeg file-roller flatseal fuse-sshfs gcc gcc-gdb-plugin gjs glibc-all-langpacks htop hunspell-* imv libreoffice mpv nautilus netcat nodejs-npm pipx qubes-ctap ShellCheck toolbox wireguard-tools whois xdg-desktop-portal-gtk yt-dlp
dnf remove cheese evolution-data-server gnome-software gnome-weather thunderbird totem
dnf remove cheese evolution-data-server gnome-software gnome-weather rpmfusion-nonfree-release thunderbird totem
sh setup-desktop.sh
ln -sf /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/* /etc/firefox