The first few times when I try to access a Plugin Asset URL, I get an endless 307 Redirect. Safari, for example, complains that there were too many redirects and fails to load the file.
Eventually, the file is generated (in my public/media/plugins folder) and will load correctly.
It’s hard for me to know if this is a Kirby issue, or maybe some Nginx configuration error.
GET [server] /media/plugins/test/test-plugin/vendor/somefile.js
HTTP/1.1 307 Temporary Redirect X-Content-Type-Options: nosniff Content-Type: text/html; charset=UTF-8 Server: nginx Location: [server]/media/plugins/test/test-plugin/vendor/somefile.js Transfer-Encoding: Identity Date: Tue, 12 Feb 2019 23:35:15 GMT X-Frame-Options: DENY X-XSS-Protection: 1; mode=block Connection: keep-alive