'NginxArgToRev.md' toevoegen
This commit is contained in:
18
NginxArgToRev.md
Normal file
18
NginxArgToRev.md
Normal file
@@ -0,0 +1,18 @@
|
||||
#### 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
|
||||
Reference in New Issue
Block a user