frontend
parent
67e1f24d0f
commit
ea9054533b
|
@ -3,6 +3,14 @@ server {
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
server_name finovators.mracs.dev;
|
server_name finovators.mracs.dev;
|
||||||
|
|
||||||
|
# Serve static frontend
|
||||||
|
root /opt/fba/frontend;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri =404;
|
||||||
|
}
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
proxy_pass http://localhost:56120/;
|
proxy_pass http://localhost:56120/;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue