cosmostat working
This commit is contained in:
@ -11,7 +11,7 @@ listen 80;
|
||||
server_name localhost;
|
||||
|
||||
# ---------------------------------------
|
||||
# The API – only /descriptor
|
||||
# API Endpoints
|
||||
# ---------------------------------------
|
||||
location = /descriptor {
|
||||
proxy_pass http://192.168.37.1:5000/descriptor;
|
||||
@ -20,6 +20,20 @@ server_name localhost;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
location = /update_client {
|
||||
proxy_pass http://192.168.37.1:5000/update_client;
|
||||
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;
|
||||
}
|
||||
location = /create_client {
|
||||
proxy_pass http://192.168.37.1:5000/create_client;
|
||||
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;
|
||||
}
|
||||
|
||||
# ---------------------------------------
|
||||
# WebSocket endpoint
|
||||
|
||||
Reference in New Issue
Block a user