Sync latest web IM fixes

This commit is contained in:
annali168290-ux
2026-10-10 15:34:06 +07:00
parent 3377b6072a
commit a5efae932b
61 changed files with 22155 additions and 5229 deletions
+17 -6
View File
@@ -4,8 +4,12 @@ server {
server_name winchen.ezpay.asia 10.0.0.120 _;
root /var/www/im-web;
index index.html;
client_max_body_size 100m;
index index.html;
client_max_body_size 100m;
gzip on;
gzip_vary on;
gzip_min_length 1024;
gzip_types application/json;
location = / {
try_files /index.html =404;
@@ -13,12 +17,19 @@ server {
add_header Cache-Control "no-store";
}
location = /index.html {
location = /index.html {
expires -1;
add_header Cache-Control "no-store";
}
location ~ ^/api/.+\.php$ {
}
location = /api/media_proxy.php {
include snippets/fastcgi-php.conf;
fastcgi_param PHP_ADMIN_VALUE "open_basedir=/var/www/im-web/:/tmp/";
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_read_timeout 300;
}
location ~ ^/api/.+\.php$ {
include snippets/fastcgi-php.conf;
fastcgi_param PHP_ADMIN_VALUE "open_basedir=/var/www/im-web/:/tmp/";
fastcgi_pass unix:/run/php/php8.3-fpm.sock;