%PDF- %PDF-
| Direktori : /var/lib/letsencrypt/backups/1698763734.4650052/ |
| Current File : //var/lib/letsencrypt/backups/1698763734.4650052/medihof.cz_27 |
server {
listen 10.27.27.5:80;
server_name medihof.cz;
rewrite ^/(.*) https://www.medihof.cz$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name medihof.cz;
ssl_certificate /etc/letsencrypt/live/medihof.cz/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/medihof.cz/privkey.pem; # managed by Certbot
rewrite ^/(.*) https://www.medihof.cz$request_uri permanent;
ssl_trusted_certificate /etc/letsencrypt/live/medihof.cz/chain.pem; # managed by Certbot
ssl_stapling on; # managed by Certbot
ssl_stapling_verify on; # managed by Certbot
}
server {
listen 10.27.27.5:80;
server_name www.medihof.cz;
rewrite ^/(.*) https://www.medihof.cz$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name www.medihof.cz;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/medihof.cz/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/medihof.cz/privkey.pem; # managed by Certbot
client_max_body_size 50m;
root /www/medihof.cz/www.medihof.cz;
location / {
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
# location /css {
# expires 24h;
# }
# location /js {
# expires 24h;
# }
# location /fonts {
# expires 24h;
# }
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/medihof.cz/www.medihof.cz$fastcgi_script_name;
}
ssl_trusted_certificate /etc/letsencrypt/live/medihof.cz/chain.pem; # managed by Certbot
ssl_stapling on; # managed by Certbot
ssl_stapling_verify on; # managed by Certbot
}