Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost 178.63.XXX.XXX:80 [2a01:4f8:XXX:XXX::1]:80>
- ServerName domain.tld
- ServerAlias www.domain.tld
- DocumentRoot "/var/www/vertrag/htdocs/website"
- <Directory "/var/www/vertrag/htdocs/website">
- Options MultiViews SymLinksIfOwnerMatch Includes
- AllowOverride AuthConfig Indexes Limit FileInfo Options=Indexes,MultiViews,SymLinksIfOwnerMatch,ExecCGI,Includes
- <IfModule mod_access_compat.c>
- Order allow,deny
- Allow from all
- </IfModule>
- <IfModule mod_authz_core.c>
- Require all granted
- </IfModule>
- </Directory>
- ScriptAlias /cgi-bin/ "/var/www/vertrag/htdocs/cgi-bin/"
- <IfModule mod_suexec.c>
- SuexecUserGroup vertrag vertrag
- </IfModule>
- <IfModule mod_env.c>
- SetEnv TMP "/var/www/vertrag/tmp"
- SetEnv TMPDIR "/var/www/vertrag/tmp"
- </IfModule>
- # PHP configuration for this subscription: FPM
- <IfModule mod_php5.c>
- php_admin_flag engine off
- </IfModule>
- <IfModule mod_proxy_fcgi.c>
- <FilesMatch ".+\.ph(p[3457]?|t|tml|ps)$">
- SetHandler "proxy:unix:/var/run/php73-fpm/vertrag.sock|fcgi://localhost"
- SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
- </FilesMatch>
- </IfModule>
- # password-protected directories:
- <Directory "/var/www/vertrag/htdocs/website">
- AuthType Basic
- AuthUserFile /var/www/vertrag/conf/.htpasswd
- <IfModule mod_authz_groupfile.c>
- AuthGroupFile /dev/null
- </IfModule>
- AuthName "Wartungsmodus"
- Require user "Philip" "Felix"
- </Directory>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteMap "lc" "int:tolower"
- RewriteCond %{REQUEST_URI} ^/\.well-known/(.*/)?([^/]*)$
- RewriteCond /var/www/vertrag/htdocs/.well-known/%1%2 !-f
- RewriteCond /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 -f
- RewriteRule / /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 [T=text/plain,L]
- </IfModule>
- </VirtualHost>
- <VirtualHost 178.63.XXX.XXX:80 [2a01:4f8:XXX:XXX::1]:80>
- ServerName my.domain.tld
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteMap "lc" "int:tolower"
- RewriteCond %{REQUEST_URI} ^/\.well-known/(.*/)?([^/]*)$
- RewriteCond /var/www/vertrag/htdocs/.well-known/%1%2 !-f
- RewriteCond /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 -f
- RewriteRule / /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 [T=text/plain,L]
- RewriteCond %{HTTP_HOST} ^my\.vertrag\.de\.?$ [NC]
- RewriteRule ^(.*)$ https://my.domain.tld$1 [R=301,NE,L]
- </IfModule>
- </VirtualHost>
- # IP group: 'default'
- <IfModule mod_ssl.c>
- <VirtualHost 178.63.XXX.XXX:443 [2a01:4f8:XXX:XXX::1]:443>
- ServerName domain.tld
- ServerAlias www.domain.tld
- SSLEngine On
- SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
- SSLCertificateFile /etc/ssl/certs/401875d40a417bac.crt
- SSLCertificateKeyFile /etc/ssl/private/401875d40a417bac.key
- SSLCertificateChainFile /etc/ssl/certs/401875d40a417bac-ca.crt
- SSLUseStapling on
- <IfModule mod_http2.c>
- Protocols h2 http/1.1
- </IfModule>
- DocumentRoot "/var/www/vertrag/htdocs/website"
- <Directory "/var/www/vertrag/htdocs/website">
- Options MultiViews SymLinksIfOwnerMatch Includes
- AllowOverride AuthConfig Indexes Limit FileInfo Options=Indexes,MultiViews,SymLinksIfOwnerMatch,ExecCGI,Includes
- <IfModule mod_access_compat.c>
- Order allow,deny
- Allow from all
- </IfModule>
- <IfModule mod_authz_core.c>
- Require all granted
- </IfModule>
- </Directory>
- ScriptAlias /cgi-bin/ "/var/www/vertrag/htdocs/cgi-bin/"
- <IfModule mod_suexec.c>
- SuexecUserGroup vertrag vertrag
- </IfModule>
- <IfModule mod_env.c>
- SetEnv TMP "/var/www/vertrag/tmp"
- SetEnv TMPDIR "/var/www/vertrag/tmp"
- </IfModule>
- # PHP configuration for this subscription: FPM
- <IfModule mod_php5.c>
- php_admin_flag engine off
- </IfModule>
- <IfModule mod_proxy_fcgi.c>
- <FilesMatch ".+\.ph(p[3457]?|t|tml|ps)$">
- SetHandler "proxy:unix:/var/run/php73-fpm/vertrag.sock|fcgi://localhost"
- SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
- </FilesMatch>
- </IfModule>
- # password-protected directories:
- <Directory "/var/www/vertrag/htdocs/website">
- AuthType Basic
- AuthUserFile /var/www/vertrag/conf/.htpasswd
- <IfModule mod_authz_groupfile.c>
- AuthGroupFile /dev/null
- </IfModule>
- AuthName "Wartungsmodus"
- Require user "Philip" "Felix"
- </Directory>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteMap "lc" "int:tolower"
- RewriteCond %{REQUEST_URI} ^/\.well-known/(.*/)?([^/]*)$
- RewriteCond /var/www/vertrag/htdocs/.well-known/%1%2 !-f
- RewriteCond /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 -f
- RewriteRule / /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 [T=text/plain,L]
- </IfModule>
- </VirtualHost>
- </IfModule>
- # IP group: 'default'
- <IfModule mod_ssl.c>
- <VirtualHost 178.63.XXX.XXX:443 [2a01:4f8:XXX:XXX::1]:443>
- ServerName my.domain.tld
- SSLEngine On
- SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
- SSLCertificateFile /etc/ssl/certs/43aa958a1e953a9a.crt
- SSLCertificateKeyFile /etc/ssl/private/43aa958a1e953a9a.key
- SSLCertificateChainFile /etc/ssl/certs/43aa958a1e953a9a-ca.crt
- SSLUseStapling on
- <IfModule mod_http2.c>
- Protocols h2 http/1.1
- </IfModule>
- DocumentRoot "/var/www/vertrag/htdocs/wmh"
- <Directory "/var/www/vertrag/htdocs/wmh">
- Options MultiViews SymLinksIfOwnerMatch Includes
- AllowOverride AuthConfig Indexes Limit FileInfo Options=Indexes,MultiViews,SymLinksIfOwnerMatch,ExecCGI,Includes
- <IfModule mod_access_compat.c>
- Order allow,deny
- Allow from all
- </IfModule>
- <IfModule mod_authz_core.c>
- Require all granted
- </IfModule>
- </Directory>
- ScriptAlias /cgi-bin/ "/var/www/vertrag/htdocs/cgi-bin/"
- <IfModule mod_suexec.c>
- SuexecUserGroup vertrag vertrag
- </IfModule>
- <IfModule mod_env.c>
- SetEnv TMP "/var/www/vertrag/tmp"
- SetEnv TMPDIR "/var/www/vertrag/tmp"
- </IfModule>
- # PHP configuration for this subscription: FPM
- <IfModule mod_php5.c>
- php_admin_flag engine off
- </IfModule>
- <IfModule mod_proxy_fcgi.c>
- <FilesMatch ".+\.ph(p[3457]?|t|tml|ps)$">
- SetHandler "proxy:unix:/var/run/php7.2-fpm/vertrag.sock|fcgi://localhost"
- SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
- </FilesMatch>
- </IfModule>
- # password-protected directories:
- <Directory "/var/www/vertrag/htdocs/website">
- AuthType Basic
- AuthUserFile /var/www/vertrag/conf/.htpasswd
- <IfModule mod_authz_groupfile.c>
- AuthGroupFile /dev/null
- </IfModule>
- AuthName "Wartungsmodus"
- Require user "Philip" "Felix"
- </Directory>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteMap "lc" "int:tolower"
- RewriteCond %{REQUEST_URI} ^/\.well-known/(.*/)?([^/]*)$
- RewriteCond /var/www/vertrag/htdocs/.well-known/%1%2 !-f
- RewriteCond /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 -f
- RewriteRule / /var/www/.well-known/htdocs/%1${lc:%{HTTP_HOST}}.%2 [T=text/plain,L]
- </IfModule>
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement