How can I have same rule for two locations in NGINX config?
How can I have same rule for two locations in NGINX config? I have tried the following server { location /first/location/ | /second/location/ { .. .. } } but nginx reload threw this error: nginx: [emerg] invalid number of arguments in “location” directive** 4 Answers 4