This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($length != '' && ! preg_match($pattern, $type)) { | |
$lengthFix = str_replace(",", ".", $length); | |
if($lengthFix != $length){ | |
$modified = true; | |
} | |
if(is_numeric($lengthFix)){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/nginx/sites-available/www.valentin-deville.eu | |
# Redirection de http sur https | |
server { | |
listen 80; | |
server_name www.valentin-deville.eu; | |
rewrite ^ https://$server_name$request_uri? permanent; | |
} |