We have Velocity templates that we attach in Confluence. If it has a name *.vw (wildcard), it uploads as type 'application/octet-stream' or 'application/x-upload-data' and when I click on it to download, I get a page with only '403 Forbidden nginx'. If I change the name to *.txt, it's fine
That is an interesting behavior you are noticing. My best guess would be that as Confluence uses veloicty templates the application server is trying to render these templates you've attached rather than just letting you download them. I would be happy to file an improvement request on your behalf. It would present an interesting technical challenge for our developers to distinquish from a templete you are trying to render versus one you are downloading.
Please let us know what we can do to help.
I have dig a bit deeper into things and found that this may be an artifact of your ngix application server. Confluence as it ships does not appear to display this behaior. What happens if you right click the attachment as select "Save As" instead of just clicking the file.
This then seems like an application server issues and not a Confluence issue. Filing a feature request would be a moot point.
Please keep us up to date on your findings with save as.
The situation suggests to me that you have an NGINX web server serving as a reverse proxy to confluence, and it has rules about what types of traffic it will pass through to Confluence as a security measure.
If you can bypass the proxy, I'd verify that the proxy is isn't at fault.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot