redhat:other-redhat:nextcloud-server-redhat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
redhat:other-redhat:nextcloud-server-redhat [2020/08/30 15:25] – [SELinux und Firewalld Konfiguration] michaelredhat:other-redhat:nextcloud-server-redhat [2021/05/21 08:12] (current) – [Installation und Konfiguration Pakete] michael
Line 55: Line 55:
 # vim /etc/httpd/conf.d/nextcloud.conf # vim /etc/httpd/conf.d/nextcloud.conf
 </code> <sxh bash; first-line: 1> </code> <sxh bash; first-line: 1>
-ServerName cloud.blackgate.org +Listen 7030
-ServerTokens Prod +
-ServerSignature Off+
  
-SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on+<VirtualHost *:7030> 
 +    ServerAdmin michu@michu-it.com 
 +    ServerName cloud.michu-it.com
  
-#Redirect 301 /.well-known/carddav https://cloud.blackgate.org/remote.php/dav +    TimeOut 300 
-#Redirect 301 /.well-known/caldav https://cloud.blackgate.org/remote.php/dav+    ProxyTimeOut 300
  
-<Directory "/var/www/html/nextcloud"> +    SetEnvIf X-Forwarded-Proto "^https$HTTPS=on 
-     Options +FollowSymlinks +    ServerSignature Off
-     AllowOverride All+
  
-     <IfModule mod_dav.c> +    ErrorLog "/var/log/httpd/nextcloud-error_log" 
-         Dav off +    CustomLog "/var/log/httpd/nextcloud-access_log" combined
-     </IfModule>+
  
-     SetEnv HOME /var/www/html/nextcloud +    DocumentRoot "/var/www/html/nextcloud"
-     SetEnv HTTP_HOME /var/www/html/nextcloud+
  
-     Require all granted +    <Directory "/var/www/html/nextcloud"> 
-</Directory>+        DirectoryIndex index.html index.php 
 +        Options SymLinksifOwnerMatch 
 +        AllowOverride All 
 +       <IfModule mod_dav.c> 
 +            Dav off 
 +       </IfModule> 
 +        SetEnv HOME /var/www/html/nextcloud 
 +        SetEnv HTTP_HOME /var/www/html/nextcloud
  
-<IfModule reqtimeout_module> +        Require all granted 
-    RequestReadTimeout body=0 +    </Directory>
-</IfModule> +
-Header set X-Content-Type-Options: "nosniff" +
-Header set X-Frame-Options: "sameorigin"+
  
-#------------------------------------------------------------------------------ +    <IfModule reqtimeout_module
-#                   phpMyAdmin VirtualHost Configuration +        RequestReadTimeout body=0 
-#------------------------------------------------------------------------------ +    </IfModule>
-Listen 81 +
-<VirtualHost *:81+
-     ServerName cloud.blackgate.org +
-     ServerAdmin webmaster@localhost +
-     DocumentRoot /var/www/html/php_my_admin+
  
-     <Directory "/var/www/html/php_my_admin"> +    Header set X-Content-Type-Options: "nosniff
-             Options -Indexes +FollowSymLinks +    Header set X-Frame-Options: "sameorigin" 
-             AllowOverride None +    Header always set Content-Security-Policy "connect-src 'self' analytics.michu-it.com:443"
-             Require ip 192.168.+
-             Require ip 127.0.0.1 +
-             Require ip ::1 +
-     </Directory>+
  
 </VirtualHost> </VirtualHost>
  • redhat/other-redhat/nextcloud-server-redhat.txt
  • Last modified: 2021/05/21 08:12
  • by michael