1
Fork 0
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:
Quackster 2025-03-20 21:54:45 +10:00 committed by GitHub
parent d8470a7f93
commit b9151e359f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
``` ```