Basic AI chat working

This commit is contained in:
2025-10-15 11:15:24 +01:00
parent 50b848d2dc
commit 08003fcbac
3 changed files with 115 additions and 109 deletions

View File

@@ -1,4 +1,4 @@
Need to figure out how to get this working with nginx-proxy
# Need to figure out how to get this working with nginx-proxy
# This file is for the /change/socket.io and /change/peer paths
location ~ ^/change/(socket\.io|peer) {

View File

@@ -83,6 +83,12 @@ location ~ \.(otf|woff2?)$ {
access_log off; # Optional: Don't log access to assets
}
location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ {
try_files $uri /index.php$request_uri;
# Optional: Don't log access to other assets
access_log off;
}
# Rule borrowed from `.htaccess`
location /remote {
return 301 /remote.php$request_uri;