3 server_name REPLACE_fqdn_ECALPER;
4 ssl_certificate /etc/letsencrypt/live/REPLACE_fqdn_ECALPER/fullchain.pem;
5 ssl_certificate_key /etc/letsencrypt/live/REPLACE_fqdn_ECALPER/privkey.pem;
6 root /var/www/tube.plomlompom.com/;
8 # re-direct to .html endings
9 location ~ ^/videos/watch/([^\.]*)/?$ {
10 rewrite ^/videos/watch/([^\./]*)/?$ /videos/watch/$1.html permanent;