無法使用nginx進行安裝

本文修正使用nginx網頁伺服器時Adobe Commerce安裝失敗的問題。

問題

如果您使用nginx網頁伺服器,並嘗試安裝Adobe Commerce軟體,安裝有時會失敗。

解決方案

您可以在var/report目錄中透過下列錯誤確認問題:

NOTE: You cannot install Adobe Commerce using the Setup Wizard because the Adobe Commerce setup directory cannot be accessed.
You can install Adobe Commerce using either the command line or you must restore access to the following directory: /var/www/html/setup
If you are using the sample nginx configuration, please go to http://ce.mtf03.bcn.magento.com/setup/";i:1;s:641:"#0 /var/www/html/lib/internal/Magento/Framework/App/Http.php(213): Magento\Framework\App\Http->redirectToSetup(Object(Magento\Framework\App\Bootstrap), Object(Exception))

因應措施

使用命令列安裝Adobe Commerce軟體。

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a