RewriteEngine on
CacheDisable public /
CacheDisable private /
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php72___lsphp .php .php7 .phtml
# php -- END cPanel-generated handler, do not edit
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^rec\.nurinda\.co\.id$ [OR]
RewriteCond %{HTTP_HOST} ^www\.rec\.nurinda\.co\.id$
RewriteRule ^/?$ "https\:\/\/rec\.nurinda\.co\.id\/" [R=301,L]
# Database backups must never be served over HTTP.
Require all denied
# Local preview tooling is not part of the public application.
RewriteRule ^(?:dev|\.local)(?:/|$) - [F,L]