%PDF- %PDF-
| Direktori : /var/lib/letsencrypt/backups/1698763734.4650052/ |
| Current File : //var/lib/letsencrypt/backups/1698763734.4650052/mosstroopers.cz_0 |
#server {
# listen 10.27.27.5:80; listen 127.0.0.1; ## listen for ipv4
# server_name www.mosstroopers.cz;
#
# location / {
# root /www/mosstroopers.cz/www.mosstroopers.cz;
# index index.html index.htm index.php;
# autoindex on;
# autoindex_exact_size off;
# }
# location ~ \.php$ {
# include fastcgi_params;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /www/mosstroopers.cz/www.mosstroopers.cz$fastcgi_script_name;
# }
#}
server {
listen 10.27.27.5:80;
server_name www.mosstroopers.cz;
rewrite ^/(.*) https://www.mosstroopers.cz$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name www.mosstroopers.cz;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/www.mosstroopers.cz/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/www.mosstroopers.cz/privkey.pem; # managed by Certbot
location / {
root /www/mosstroopers.cz/www.mosstroopers.cz;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/mosstroopers.cz/www.mosstroopers.cz$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80; listen 127.0.0.1;
server_name mosstroopers.cz;
return 301 https://www.mosstroopers.cz$request_uri;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name mosstroopers.cz;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/www.mosstroopers.cz/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/www.mosstroopers.cz/privkey.pem; # managed by Certbot
return 301 https://www.mosstroopers.cz$request_uri;
}