Files
gemory/nginx.conf
2023-09-16 16:04:30 +02:00

30 lines
914 B
Nginx Configuration File

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