mirror of
https://github.com/Quackster/Minerva.git
synced 2025-06-29 21:07:45 +00:00
Update README.md
Add NGINX example
This commit is contained in:
parent
037f2cdac0
commit
4fb4629cb9
1 changed files with 9 additions and 0 deletions
|
@ -107,6 +107,15 @@ header ('Content-Type: image/png');
|
|||
echo file_get_contents("http://127.0.0.1:8090/?" . $_SERVER['QUERY_STRING']);
|
||||
?>
|
||||
```
|
||||
|
||||
```nginx
|
||||
location /imaging/ {
|
||||
proxy_pass http://127.0.0.1:8090;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
```
|
||||
### Cloning this repository
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue