【发布时间】:2016-05-21 03:04:05
【问题描述】:
如何在 NGINX 配置中为两个位置设置相同的规则?
我已经尝试了以下
server {
location /first/location/ | /second/location/ {
..
..
}
}
但是 nginx reload 抛出了这个错误:
nginx: [emerg] invalid number of arguments in "location" directive**
【问题讨论】:
标签: nginx nginx-location