add: handle sending HTTP request to HTTPS port
This commit is contained in:
parent
aa2a0d6f71
commit
b7cb3733ec
3 changed files with 8 additions and 0 deletions
3
srcs/www/497.php
Normal file
3
srcs/www/497.php
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
http_response_code(301);
|
||||
header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI']);
|
||||
Loading…
Add table
Add a link
Reference in a new issue