%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/lib/letsencrypt/backups/1750006685.4349775/
Upload File :
Create Path :
Current File : //var/lib/letsencrypt/backups/1750006685.4349775/awstats_7

server {
	listen 10.27.27.5:443 ssl http2; 
        server_name awstats.varak.net;

        include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot

	auth_basic           "Awstats statistics";
    auth_basic_user_file /etc/nginx/awstats.htpasswd;

    root   /www/awstats/wwwroot;
    index index.php;

	# Restrict access
	#auth_basic "Restricted";
	#auth_basic_user_file /etc/awstats/htpasswd;


	# Static awstats files: HTML files stored in DOCUMENT_ROOT/awstats/

	# Dynamic stats.
	location ~ ^/cgi-bin/(awredir|awstats)\.pl {
		#gzip off;
		fastcgi_pass 127.0.0.1:9000;
		fastcgi_param SCRIPT_FILENAME /www/awstats/wwwroot/cgi-bin/fcgi.php;
		fastcgi_param X_SCRIPT_FILENAME /www/awstats/wwwroot$fastcgi_script_name;
		fastcgi_param X_SCRIPT_NAME $fastcgi_script_name;
		include fastcgi_params;
	}
    location ~ \.php$ {
                include fastcgi_params;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME    /www/awstats/wwwroot$fastcgi_script_name;
        }
}

server {
    listen 10.27.27.5:80; 
    server_name  awstats.varak.net;
    rewrite ^/(.*) https://awstats.varak.net$request_uri permanent;
}

Zerion Mini Shell 1.0