mirror of
https://github.com/Quackster/Minerva.git
synced 2025-06-29 21:07:45 +00:00
Add nginx readme [skip actions]
* Update README.md Add NGINX example * Add nginx clarification --------- Co-authored-by: duckietm <troop@duckplaza.com>
This commit is contained in:
parent
d8470a7f93
commit
b9151e359f
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -109,6 +109,17 @@ header ('Content-Type: image/png');
|
||||||
echo file_get_contents("http://127.0.0.1:8090/?" . $_SERVER['QUERY_STRING']);
|
echo file_get_contents("http://127.0.0.1:8090/?" . $_SERVER['QUERY_STRING']);
|
||||||
?>
|
?>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
An example with Nginx:
|
||||||
|
|
||||||
|
```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
|
### Cloning this repository
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue