diff options
Diffstat (limited to 'frontend/nginx.conf')
| -rw-r--r-- | frontend/nginx.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/nginx.conf b/frontend/nginx.conf new file mode 100644 index 0000000..6599254 --- /dev/null +++ b/frontend/nginx.conf @@ -0,0 +1,12 @@ +server { + listen 80; + location / { + root /app; + try_files $uri /index.html; + } + + location /api { + rewrite /api(.*) $1 break; + proxy_pass http://backend; + } +}
\ No newline at end of file |
