Import JC Web IM

This commit is contained in:
annali168290-ux
2026-10-09 22:49:53 +07:00
commit 3377b6072a
74 changed files with 62902 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
server {
listen 8023;
listen [::]:8023;
server_name winchen.ezpay.asia 10.0.0.120 _;
root /var/www/im-web;
index index.html;
client_max_body_size 100m;
location = / {
try_files /index.html =404;
expires -1;
add_header Cache-Control "no-store";
}
location = /index.html {
expires -1;
add_header Cache-Control "no-store";
}
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;
expires -1;
}
location / {
etag on;
try_files $uri $uri/ /index.html;
expires 12h;
}
}