cd ~/realcom-nas-ui
sudo apt update
sudo apt install -y ansible
sudo ansible-playbook -i inventory.ini realnas_setup.yml



sudo apt update
sudo apt install -y wget gpg

wget -qO- https://packages.microsoft.com/keys/microsoft.asc \
 | gpg --dearmor \
 | sudo tee /usr/share/keyrings/microsoft.gpg > /dev/null

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] \
https://packages.microsoft.com/repos/code stable main" \
 | sudo tee /etc/apt/sources.list.d/vscode.list

sudo apt update
sudo apt install -y code












적용 순서 (딱 이대로)
1️⃣ nginx 설정 수정

sudo nano /etc/nginx/sites-available/realnas.conf
2️⃣ 위 location 블록 교체

3️⃣ 문법 검사 + 재시작

sudo nginx -t
sudo systemctl reload nginx
sudo systemctl restart php8.4-fpm
🔍 바로 검증 (중요)
이제 다시:

curl -I "http://127.0.0.1/files/php/connector.minimal.php" | egrep -i 'HTTP/|X-REALNAS-CONNECTOR'