Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_ssl.c>
- <VirtualHost 167.114.64.16:7081 >
- ServerName "no-gods-no-masters.com"
- ServerAlias "www.no-gods-no-masters.com"
- ServerAlias "ipv4.no-gods-no-masters.com"
- UseCanonicalName Off
- DocumentRoot "/var/www/vhosts/no-gods-no-masters.com/public_html"
- CustomLog /var/www/vhosts/system/no-gods-no-masters.com/logs/access_ssl_log plesklog
- ErrorLog "/var/www/vhosts/system/no-gods-no-masters.com/logs/error_log"
- <IfModule mod_suexec.c>
- SuexecUserGroup "shop2" "psacln"
- </IfModule>
- <IfModule mod_userdir.c>
- UserDir "/var/www/vhosts/no-gods-no-masters.com/web_users/*"
- </IfModule>
- <IfModule mod_sysenv.c>
- SetSysEnv PP_VHOST_ID "8c6c36e2-b36a-42f5-b45a-e84250e7afdd"
- </IfModule>
- SSLEngine on
- SSLVerifyClient none
- SSLCertificateFile /usr/local/psa/var/certificates/scfTiX5wQ
- SSLCACertificateFile /usr/local/psa/var/certificates/scfJTHD2L
- TimeOut 600
- <Directory /var/www/vhosts/no-gods-no-masters.com/public_html>
- <IfModule mod_proxy_fcgi.c>
- <Files ~ (\.php$)>
- SetHandler proxy:unix:/var/www/vhosts/system/no-gods-no-masters.com/php-fpm.sock|fcgi://127.0.0.1:9000
- </Files>
- </IfModule>
- SSLRequireSSL
- Options -Includes -ExecCGI
- </Directory>
- Alias /error_docs /var/www/vhosts/no-gods-no-masters.com/error_docs
- ErrorDocument 400 /error_docs/bad_request.html
- ErrorDocument 401 /error_docs/unauthorized.html
- ErrorDocument 403 /error_docs/forbidden.html
- ErrorDocument 404 /error_docs/not_found.html
- ErrorDocument 500 /error_docs/internal_server_error.html
- ErrorDocument 405 /error_docs/method_not_allowed.html
- ErrorDocument 406 /error_docs/not_acceptable.html
- ErrorDocument 407 /error_docs/proxy_authentication_required.html
- ErrorDocument 412 /error_docs/precondition_failed.html
- ErrorDocument 414 /error_docs/request_uri_too_long.html
- ErrorDocument 415 /error_docs/unsupported_media_type.html
- ErrorDocument 501 /error_docs/not_implemented.html
- ErrorDocument 502 /error_docs/bad_gateway.html
- ErrorDocument 503 /error_docs/maintenance.html
- DirectoryIndex "index.html" "index.cgi" "index.pl" "index.php" "index.xhtml" "index.htm" "index.shtml"
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{HTTP_HOST} ^no-gods-no-masters\.com$ [NC]
- RewriteRule ^(.*)$ https://www.no-gods-no-masters.com$1 [L,R=301]
- </IfModule>
- Include "/var/www/vhosts/system/no-gods-no-masters.com/conf/vhost_ssl.conf"
- <Directory /var/www/vhosts/no-gods-no-masters.com>
- AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,SymLinksIfOwnerMatch,MultiViews,FollowSymLinks,ExecCGI,Includes,IncludesNOEXEC
- </Directory>
- #extension letsencrypt begin
- Alias /.well-known/acme-challenge "/var/www/vhosts/default/htdocs/.well-known/acme-challenge"
- <Location /.well-known/acme-challenge/>
- # Require all granted
- Order Deny,Allow
- Allow from all
- Satisfy any
- </Location>
- <LocationMatch "^/.well-known/acme-challenge/(.*/|)\.">
- # Require all denied
- Order Allow,Deny
- Deny from all
- </LocationMatch>
- #extension letsencrypt end
- #extension sslit begin
- #extension sslit end
- #extension sectigo begin
- AliasMatch "^/.well-known/pki-validation/(?!fileauth.txt)$" "/var/www/vhosts/default/htdocs/.well-known/pki-validation/$1"
- <Location /.well-known/pki-validation/>
- # Require all granted
- Order Deny,Allow
- Allow from all
- Satisfy any
- </Location>
- <LocationMatch "^/.well-known/pki-validation/(.*/|)\.">
- # Require all denied
- Order Allow,Deny
- Deny from all
- </LocationMatch>
- #extension sectigo end
- </VirtualHost>
- </IfModule>
- <VirtualHost 167.114.64.16:7080 >
- ServerName "no-gods-no-masters.com"
- ServerAlias "www.no-gods-no-masters.com"
- ServerAlias "ipv4.no-gods-no-masters.com"
- UseCanonicalName Off
- Include "/var/www/vhosts/system/no-gods-no-masters.com/conf/vhost.conf"
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{HTTP_HOST} ^no-gods-no-masters\.com$ [NC]
- RewriteRule ^(.*)$ https://www.no-gods-no-masters.com$1 [L,R=301]
- </IfModule>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{HTTPS} off
- RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,QSA]
- </IfModule>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement