test envsubst

This commit is contained in:
2023-09-16 20:05:25 +02:00
parent 092b7a9763
commit ef627d06bc
2 changed files with 4 additions and 3 deletions

View File

@@ -1,31 +0,0 @@
server {
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ $uri.html /index.html;
}
location /api/ {
proxy_pass https://api.eveal.shendai.rip/;
rewrite /api/(.*) /$1 break;
proxy_ssl_server_name on;
proxy_set_header Host "api.eveal.shendai.rip";
proxy_set_header X-Forwarded-Proto https;
}
location /appraisal/ {
proxy_pass https://appraise.imperium.nexus/;
rewrite /appraisal/(.*) /$1 break;
proxy_ssl_server_name on;
proxy_set_header Host "appraise.imperium.nexus";
proxy_set_header X-Forwarded-Proto https;
}
location /esi/ {
proxy_pass https://esi.evetech.net/;
rewrite /esi/(.*) /latest/$1 break;
proxy_ssl_server_name on;
proxy_set_header Host "esi.evetech.net";
proxy_set_header X-Forwarded-Proto https;
proxy_set_header User-Agent ${ESI_USER_AGENT};
}
}