• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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