#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

ServerName "kind-maxwell.85-215-174-66.plesk.page"

DocumentRoot "/var/www/vhosts/default/htdocs"

<IfModule mod_logio.c>
	LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
	LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>

TraceEnable off

ServerTokens ProductOnly

<Directory "/var/www/vhosts">
	AllowOverride "All"
	Options SymLinksIfOwnerMatch
	Require all granted
	Order allow,deny
	Allow from all

	<IfModule mod_php4.c>
		php_admin_flag engine off
	</IfModule>

	<IfModule mod_php5.c>
		php_admin_flag engine off
	</IfModule>

	<IfModule mod_php7.c>
		php_admin_flag engine off
	</IfModule>

</Directory>

<Directory "/usr/lib/mailman">
	AllowOverride All
	Options SymLinksIfOwnerMatch
	Require all granted
	<IfModule mod_php4.c>
		php_admin_flag engine off
	</IfModule>
	<IfModule mod_php5.c>
		php_admin_flag engine off
	</IfModule>
</Directory>

<IfModule mod_headers.c>
	Header add X-Powered-By PleskLin
</IfModule>

<IfModule mod_security2.c>
</IfModule>

IncludeOptional "/etc/apache2/plesk.conf.d/ip_default/*.conf"

<VirtualHost 217.154.245.77:80 [2a01:239:27e:aa00::1]:80>
	ServerName "default"
	UseCanonicalName Off
	DocumentRoot "/var/www/vhosts/default/htdocs"
	ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin"

	<IfModule mod_ssl.c>
		SSLEngine off
	</IfModule>

	<Directory "/var/www/vhosts/default/cgi-bin">
		AllowOverride None
		Options None
		Order allow,deny
		Allow from all
	</Directory>

	<Directory /var/www/vhosts/default/htdocs>

		<IfModule mod_php4.c>
			php_admin_flag engine on
		</IfModule>

		<IfModule mod_php5.c>
			php_admin_flag engine on
		</IfModule>

		<IfModule mod_php7.c>
			php_admin_flag engine on
		</IfModule>

	</Directory>

</VirtualHost>

<IfModule mod_ssl.c>
	<VirtualHost 217.154.245.77:443 [2a01:239:27e:aa00::1]:443>

		SSLEngine on
		SSLVerifyClient none
		SSLCertificateFile "/opt/psa/var/certificates/scf14agfshll79rdO7LVek"

		ServerName "default"

		UseCanonicalName Off
		LimitRequestBody 2147483647
		ProxyTimeout 600

		<IfModule mod_proxy_http.c>
			<Location />
				ProxyPass http://127.0.0.1:8880/
				ProxyPassReverse http://127.0.0.1:8880/
				ProxyPreserveHost On
				RequestHeader set "X-Forwarded-Proto" "https"
				Order allow,deny
				Allow from all
			</Location>
			<LocationMatch "^/(.+/)?(ws|websocket)(/.*)?$">
				ProxyPassMatch ws://127.0.0.1:8880/$1$2$3
				ProxyPreserveHost On
				RequestHeader set "X-Forwarded-Proto" "https"
				Order allow,deny
				Allow from all
			</LocationMatch>
		</IfModule>

	</VirtualHost>
</IfModule>

<Directory "/usr/share/plesk-service.localdomain">
	AllowOverride None
	Options None
	Require ip 127.0.0.1
	Order deny,allow
	Deny from all
	Allow from 127.0.0.1
</Directory>

<VirtualHost 127.0.0.1:80>
	ServerName "plesk-service.localdomain"
	UseCanonicalName Off
	DocumentRoot "/usr/share/plesk-service.localdomain"
</VirtualHost>

<VirtualHost 127.0.0.1:443>
	ServerName "plesk-service.localdomain"
	UseCanonicalName Off
	DocumentRoot "/usr/share/plesk-service.localdomain"
</VirtualHost>

<IfModule mod_remoteip.c>
	RemoteIPInternalProxy 217.154.245.77 2a01:239:27e:aa00::1
	RemoteIPHeader X-Forwarded-For
</IfModule>
