My NextCloud 11 installation is showing me the following warnings under the administration panel which I would like to fix, but do not know how to. I have Googled all of these, and the only one that I made some progress on was the Strict-Transport-Security error, which I read could be fixed by adding an entry to the Nginx configuration file. I SSH'd into my RPi and added the entry to the configuration file, but after a reboot, the entry disappeared.
Does anyone have any ideas? Here is the entire list of warnings:
Security & setup warnings
- php does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.
Please check the installation documentation ↗ for php configuration notes and the php configuration of your server, especially when using php-fpm.
- The "Strict-Transport-Security" HTTP header is not configured to at least "15552000" seconds. For enhanced security we recommend enabling HSTS as described in our security tips.
- No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.