%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /etc/nginx/sites-available/
Upload File :
Create Path :
Current File : //etc/nginx/sites-available/asheara

server {
        listen 10.27.27.5:80;  listen 127.0.0.1; ## listen for ipv4
        server_name  asheara.varak.net;

        location / {
                root   /home/asheara/www/www;
                index  index.html index.htm index.php;
                autoindex off;
                autoindex_exact_size off;
		try_files $uri $uri/ /index.php?$args;
        }
        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME    /home/asheara/www/www$fastcgi_script_name;
        }
}
server {
        listen 10.27.27.5:443 ssl http2; 
        server_name asheara.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


        location / {
                root   /home/asheara/www/www;
                index  index.html index.htm index.php;
                autoindex off;
                autoindex_exact_size off;
		try_files $uri $uri/ /index.php?$args;
        }
        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME	/home/asheara/www/www$fastcgi_script_name;
        }

}


server {
        listen 10.27.27.5:80;  listen 127.0.0.1; ## listen for ipv4
        server_name asheara.andreara.net;

        location / {
                root   /home/asheara/www/www;
                index  index.html index.htm index.php;
                autoindex off;
                autoindex_exact_size off;
		try_files $uri $uri/ /index.php?$args;
        }
        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME    /home/asheara/www/www$fastcgi_script_name;
        }
}
server {
        listen 10.27.27.5:443 ssl http2; 
        server_name asheara.andreara.net;
        
        include ssl_params;
        ssl_certificate  /home/waritko/cert/varak_net.pem;
        ssl_certificate_key  /home/waritko/cert/varak_net.key;

        location / {
                root   /home/asheara/www/www;
                index  index.html index.htm index.php;
                autoindex off;
                autoindex_exact_size off;
		try_files $uri $uri/ /index.php?$args;
        }
        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME	/home/asheara/www/www$fastcgi_script_name;
        }
}




Zerion Mini Shell 1.0