... | ... | @@ -72,6 +72,19 @@ server { |
|
|
log_not_found off;
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
## Beispiel einer location:
|
|
|
|
|
|
`/etc/nginx/conf.d/locations/test-webdienst.conf`
|
|
|
|
|
|
```
|
|
|
location /test-webdienst {
|
|
|
proxy_redirect off;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header X-Forwarded-Protocol $scheme;
|
|
|
proxy_pass https://v000155.adm.ds.fhnw.ch/10.0.3.24;
|
|
|
}
|
|
|
```
|
|
|
**proxy_pass** value ist wie folgt aufgebaut: https://[hostname-des-container-servers]/[interne-ip-adresse-des-containers]; |
|
|
\ No newline at end of file |