Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /etc/nginx/sites-enabled/ |
Upload File : |
server { listen 80; server_name example.com www.example.com; root /var/www/html; index index.php index.html index.htm; # 워드프레스 리라이트 location / { try_files $uri $uri/ /index.php?$args; } # PHP 처리 location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.3-fpm.sock; # ← 버전에 맞게 } # 업로드 용량(선택) client_max_body_size 64M; # 보안(선택) location ~ /\.ht { deny all; } }