Aide sur le serveur web Apache

De Aide en ligne

En vrac à ventiler et à expliquer

################# A supprimer

####################################################################################

# ALLOW X-FRAME INTEGRATION AND PLESK REDIRECTION BY FRAME FROM PARTICULAR DOMAINS #

####################################################################################

# Replace « https://backup.nicolas-friot.fr » by your own URI.                     #

# Uncomment useful directives.                                                     #

####################################################################################

###################

# X-FRAME OPTIONS #

###################

#<IfModule mod_headers.c>

#Header unset X-Frame-Options

#Header set X-Frame-Options "DENY"

#Header set X-Frame-Options "SAMEORIGIN"

##############

# DEPRECATED #

##############

#Header set X-Frame-Options "ALLOW-FROM https://backup.nicolas-friot.fr"

#</IfModule>

###########################

# CONTENT SECURITY POLICY #

###########################

#<IfModule mod_headers.c>

##################

# ADD NEW POLICY #

##################

#Header set Content-Security-Policy "frame-src https://backup.nicolas-friot.fr"

########################

# EDIT EXISTING POLICY #

########################

#Header edit Content-Security-Policy "default-src 'self'" "default-src 'self' https://backup.nicolas-friot.fr"

#Header edit Content-Security-Policy "frame-src 'self'" "frame-src 'self' https://backup.nicolas-friot.fr"

#Header edit Content-Security-Policy "frame-ancestors 'self'" "frame-ancestors 'self' https://backup.nicolas-friot.fr"

#</IfModule>

#######################################################

# DISABLE SECURITY RULES FOR THE APPLICATION FIREWALL #

#######################################################

#<IfModule security2_module>

#####################################

# ????? #

#####################################

#SecRuleRemoveById XXXXXX

#</IfModule>

##########################################

# DISABLE STANDARD PROXY FUNCTIONALITIES #

##########################################

#ProxyRequests Off

#############################

# SSL SUPPORT FOR THE PROXY #

#############################

#SSLProxyEngine On

###########################################

# DISABLE TARGET CERTIFICATE VERIFICATION #

###########################################

#SSLProxyCheckPeerCN Off

###########################################################

# DISABLE PROXY FOR LET'S ENCRYPT CERTIFICATES GENERATION #

###########################################################

#ProxyPass "/.well-known" "!"

##############################################

# DISABLE PROXY FOR PLESK CUSTOM ERROR PAGES #

##############################################

#ProxyPass "/error_docs" "!"

########################################################################

# TRANSPARENT REDIRECTION TO THE PRIVATE NAS OR THE PRIVATE HP PRINTER #

##############################################################################

# Replace « ip.nas.nicolas-friot.fr » by your own IP address or domain name. #

# Replace « 10002 » by your own destination port.                            #

##############################################################################

#ProxyPass / https://ip.nas.nicolas-friot.fr:10002/

#ProxyPassReverse / https://ip.nas.nicolas-friot.fr:10002/