Archived
1
0

'NginxArgToRev.md' toevoegen

This commit is contained in:
2020-01-22 13:35:34 +00:00
parent c893969cda
commit 48f076a147

18
NginxArgToRev.md Normal file
View 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