在 MAMP PRO
软件内 -> 选择需要配置的站点 -> 点击右侧 Nginx
选项 -> 然后在 Custom
配置项内输入:
|
所有配置参数都建议在站点的
Nginx
选项内进行操作。
PS:不要直接在File
->Edit Template
->Nginx(nginx.conf)
中修改配置。
在 MAMP PRO
软件内 -> 选择需要配置的站点 -> 点击右侧 Nginx
选项 -> 然后在 Custom
配置项内输入:
|
所有配置参数都建议在站点的
Nginx
选项内进行操作。
PS:不要直接在File
->Edit Template
->Nginx(nginx.conf)
中修改配置。