Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions compose/config/seatable-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@ server {
error_log /opt/nginx-logs/socket-io.error.log;
}

location /internal-thumbnails/ {
internal;
alias /opt/seatable/seahub-data/thumbnail/;

add_header X-Served-By "Nginx-via-X-Accel";
expires 7d;
add_header Cache-Control "public, no-transform";

access_log /opt/nginx-logs/internal-thumbnails.access.log seatableformat;
error_log /opt/nginx-logs/internal-thumbnails.error.log;
}

# Deprecated endpoints
location /dtable-server {
return 404 'This endpoint is deprecated. Please migrate to the API Gateway: https://forum.seatable.com/t/important-changes-to-the-seatable-cloud-api-in-version-5-3/6677';
Expand Down