HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
System: Linux golden.server-sky-dns.com 3.10.0-1160.59.1.el7.x86_64 #1 SMP Mon Mar 7 01:49:29 EST 2022 x86_64
User: arkitgroups (1041)
PHP: 8.2.8
Disabled: NONE
Upload Files
File: //etc/nginx/conf.d/vhosts/spf.egitimdemo.co.in.conf
server {
	listen 65.21.231.66:80;	
	server_name spf.egitimdemo.co.in  www.spf.egitimdemo.co.in;

	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.bytes bytes;
	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.log combined;
	error_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.error.log error;

	location / {
		location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh|webp)$ {
			root /home/egitimdemoco/spf.egitimdemo.co.in;					
			expires max;
			try_files $uri $uri/ @backend;
		}
		
		error_page 405 = @backend;
		error_page 500 = @custom;
		add_header X-Cache "HIT from Backend";
		add_header X-XSS-Protection "1; mode=block" always;
		add_header X-Content-Type-Options "nosniff" always;
		proxy_pass http://65.21.231.66:8181;
		include proxy.inc;
	}

	location @backend {
		internal;
		proxy_pass http://65.21.231.66:8181;
		include proxy.inc;
	}

	location @custom {
		internal;
		proxy_pass http://65.21.231.66:8181;
		include proxy.inc;
	}

	location ~ .*\.(php|jsp|cgi|pl|py)?$ {
		proxy_pass http://65.21.231.66:8181;
		include proxy.inc;
	}

	location ~ /\.ht    {deny all;}
	location ~ /\.svn/  {deny all;}
	location ~ /\.git/  {deny all;}
	location ~ /\.hg/   {deny all;}
	location ~ /\.bzr/  {deny all;}

	disable_symlinks if_not_owner from=/home/egitimdemoco/spf.egitimdemo.co.in;

	location /.well-known/acme-challenge {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}

	location /.well-known/pki-validation {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}
}

server {
	listen 65.21.231.66:80;	
	server_name webmail.spf.egitimdemo.co.in;

	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.bytes bytes;
	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.log combined;
	error_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.error.log error;

	location / {
		proxy_pass  http://127.0.0.1:2095;
		include proxy.inc;
	}

	location ~ /\.ht    {deny all;}
	location ~ /\.svn/  {deny all;}
	location ~ /\.git/  {deny all;}
	location ~ /\.hg/   {deny all;}
	location ~ /\.bzr/  {deny all;}

	disable_symlinks if_not_owner from=/home/egitimdemoco/spf.egitimdemo.co.in;

	location /.well-known/acme-challenge {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}

	location /.well-known/pki-validation {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}
}

server {
	listen 65.21.231.66:80;	
	server_name mail.spf.egitimdemo.co.in;

	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.bytes bytes;
	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.log combined;
	error_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.error.log error;

	location / {
		proxy_pass  http://127.0.0.1:2095;
		include proxy.inc;
	}

	location ~ /\.ht    {deny all;}
	location ~ /\.svn/  {deny all;}
	location ~ /\.git/  {deny all;}
	location ~ /\.hg/   {deny all;}
	location ~ /\.bzr/  {deny all;}

	disable_symlinks if_not_owner from=/home/egitimdemoco/spf.egitimdemo.co.in;

	location /.well-known/acme-challenge {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}

	location /.well-known/pki-validation {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}
}

server {
	listen 65.21.231.66:80;	
	server_name cpanel.spf.egitimdemo.co.in;

	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.bytes bytes;
	access_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.log combined;
	error_log /usr/local/apache/domlogs/spf.egitimdemo.co.in.error.log error;

	location / {
		proxy_pass  https://127.0.0.1:2083;
		include proxy.inc;
	}

	location /pma {
		proxy_pass  https://127.0.0.1:2031;
		include proxy.inc;
	}

	location /roundcube {
		proxy_pass  https://127.0.0.1:2031;
		include proxy.inc;
	}

	location ~ /\.ht    {deny all;}
	location ~ /\.svn/  {deny all;}
	location ~ /\.git/  {deny all;}
	location ~ /\.hg/   {deny all;}
	location ~ /\.bzr/  {deny all;}

	disable_symlinks if_not_owner from=/home/egitimdemoco/spf.egitimdemo.co.in;

	location /.well-known/acme-challenge {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}

	location /.well-known/pki-validation {
		default_type "text/plain";
		alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
	}
}