I have OwnCloud running on CentOS with HTTPS and somehow i have access to all the files just putting the https://address/data in the URL. Also i have this error message in the security admin panel:
Security & setup warnings
Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.
No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
The "X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN". This is a potential security or privacy risk and we recommend adjusting this setting.
The "Strict-Transport-Security" HTTP header is not configured to least "15768000" seconds. For enhanced security we recommend enabling HSTS as described in our security tips.
I try everything from Google and nothing is working. Can someone help me with this as its very urgent and the service is shutdown at the moment.
The current Version of OwnCloud is 8.1.3 (stable)