File: //etc/nginx/sites-available/maint_503_http.conf
server {
listen 80;
server_name dakarash.co.id www.dakarash.co.id;
location ^~ /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
default_type "text/plain";
try_files $uri =404;
}
root /home/dakarash.co.id.BAK.2025-10-06-1041/public_html/maintenance;
index index.html;
add_header X-Maint "on" always;
error_page 503 /index.html;
location / { return 503; }
location = /index.html { try_files $uri =404; }
location /asset/ { try_files $uri =404; }
location /assets/ { try_files $uri =404; }
}