• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Can't locate Apache config file

Jean-Luc GARNIER

Basic Pleskian
Hi Community,

This is a rookie question... ;-) To harden nextCloud security, the installation manual indicates I should add some parameters to Apache config file:

<VirtualHost *:443>
ServerName cloud.nextcloud.com
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>
</VirtualHost>

Unfortunately, I spent hours searching for this file and couldn't find the proper one. Any clue on this in a Plesk context? Where should I these extra instructions?

Thanks in advance for any help!
 
Back
Top