%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/var/lib/letsencrypt/backups/1543933986.74/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/var/lib/letsencrypt/backups/1543933986.74/seaninel.cz_10

server {
    listen 77.93.194.60:80; listen [2a01:430:12b:0:0:0:0:2]:80;
    server_name  seaninel.varak.net;
    rewrite ^/(.*) https://seaninel.varak.net$request_uri permanent;
}
server {
        listen 77.93.194.60:443 ssl http2; listen [2a01:430:12b:0:0:0:0:2]:443 ssl http2;
        server_name  seaninel.varak.net;
        client_max_body_size 50m;
        root   /www/seaninel.cz/www.seaninel.cz;
        index index.php;
        
        include ssl_params;
ssl_certificate /etc/letsencrypt/live/mail2.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/mail2.varak.net/privkey.pem; # managed by Certbot

        
        location / {
                # This is cool because no php is touched for static content. 
                # include the "?$args" part so non-default permalinks doesn't break when using query string
                try_files $uri $uri/ /index.php?$args;
		#try_files $uri $uri/ /index.php?q=$uri&$args;
        }
        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME    /www/seaninel.cz/www.seaninel.cz/$fastcgi_script_name;
        }

	rewrite /wp-admin$ $scheme://$host$uri/ permanent;
	

}

server {
    listen 77.93.194.60:80; listen [2a01:430:12b:0:0:0:0:2]:80;
    server_name  www.seaninel.cz;
    rewrite ^/(.*) https://www.seaninel.cz$request_uri permanent;
}

server {
        listen 77.93.194.60:443 ssl http2; listen [2a01:430:12b:0:0:0:0:2]:443 ssl http2;
        server_name  www.seaninel.cz;
        client_max_body_size 50m;
        root   /www/seaninel.cz/www.seaninel.cz;
        index index.php;
        
        include ssl_params;
        ssl_certificate  /etc/nginx/seaninel.cz.crt;
        ssl_certificate_key  /etc/nginx/seaninel.cz.key;
        
        location / {
                # This is cool because no php is touched for static content. 
                # include the "?$args" part so non-default permalinks doesn't break when using query string
                try_files $uri $uri/ /index.php?$args;
		#try_files $uri $uri/ /index.php?q=$uri&$args;
        }
        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME    /www/seaninel.cz/www.seaninel.cz/$fastcgi_script_name;
        }

	rewrite /wp-admin$ $scheme://$host$uri/ permanent;
	
}

server {
    listen 77.93.194.60:80; listen [2a01:430:12b:0:0:0:0:2]:80; listen 127.0.0.1;
    server_name  seaninel.cz;
    return       301 https://www.seaninel.cz$request_uri;
}
server {
    listen 77.93.194.60:443 ssl http2; listen [2a01:430:12b:0:0:0:0:2]:443 ssl http2;
    server_name  seaninel.cz;
    ssl_certificate  /etc/nginx/seaninel.cz.crt;
    ssl_certificate_key  /etc/nginx/seaninel.cz.key;
    return       301 https://www.seaninel.cz$request_uri;
}


Zerion Mini Shell 1.0