How to I get variables from location in nginx?
Fresh3 days ago
Mar 15, 202659021 viewsConfidence Score0%
0%
Problem
The location from nginx conf: How to I get variables from location in nginx?
Error Output
location ~/photos/resize/(\d+)/(\d+) {
# Here var1=(\d+), var2=(\d+)
}Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to I get variables from location in nginx?
Low Risk
The regex works pretty much like in every other place that has it. Looking at examples on the nginx wiki may also help, http://wiki.nginx.org/Configuration
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix