eo-services-client/default.conf.template

23 lines
530 B
Plaintext

server {
listen 80;
server_name localhost;
location /eo-services {
mirror /mirror;
root /app;
index index.html;
try_files $uri $uri/ /eo-services/index.html;
add_header Cache-Control 'no-store';
}
location /mirror {
internal;
proxy_pass ${VITE_API_BASE_URL}/auth;
proxy_set_header X-Original-URI $request_uri;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}