API_URL
This commit is contained in:
@@ -6,10 +6,10 @@ server {
|
||||
try_files $uri $uri/ $uri.html /index.html;
|
||||
}
|
||||
location /api/ {
|
||||
proxy_pass https://api.eveal.shendai.rip/;
|
||||
proxy_pass https://${API_URL}/;
|
||||
rewrite /api/(.*) /$1 break;
|
||||
proxy_ssl_server_name on;
|
||||
proxy_set_header Host "api.eveal.shendai.rip";
|
||||
proxy_set_header Host "${API_URL}";
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user