Firstly, congratulation for this open source project.
I want make clean display for local pdf files with onebox. I saw that is not to possible with attachment, so i link pdf files from url on same server.
With or without whitelist internal hosts, That work with domains but i don’t see onebox for pdf files from subdomains url (my discourse url is on a subdomain). For my tests, All domains/subdomains redirect on the same server.
(On test screen, only domains display onebox)
I have read some posts about this, but i don’t understand the problem :
How i can fix it ?
PS : Link work for subdomain, i can see pdf file, that’s just display problem for onebox on content.