18 lines
374 B
Markdown
18 lines
374 B
Markdown
#### Input: dom.ain/UrLocation/?set=123
|
|
|
|
|
|
|
|
#### Nginx Conf
|
|
|
|
###### Required when directing to domain
|
|
```
|
|
resolver 1.1.1.1 [::1]:5353 valid=30s;
|
|
```
|
|
|
|
|
|
```
|
|
location /UrLocation {
|
|
proxy_pass https://other.domain/json.htm?type=command&&switchcmd=Set%20Level&level=$arg_set;
|
|
}
|
|
```
|
|
#### result: https://other.domain/json.htm?type=command&&switchcmd=Set%20Level&level=123 |