Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

531 B
Raw Blame
location ^~ /drawio/ {
    # Allow resource loading from the sandboxed iframe's opaque origin.
    add_header Access-Control-Allow-Origin "*" always;
    proxy_pass http://drawio:8080/;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Host $http_host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $http_host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
}