jarvis
This commit is contained in:
@@ -20,6 +20,15 @@ server {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
|
||||
# Proxy API requests to plato.lan
|
||||
location /api/ {
|
||||
proxy_pass http://plato.lan:1234/v1/;
|
||||
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-Proto $scheme;
|
||||
}
|
||||
|
||||
# Gzip compression for better performance
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
|
||||
Reference in New Issue
Block a user