init: initial commit
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
server {
|
||||
listen 8081;
|
||||
root /app;
|
||||
index index.html;
|
||||
|
||||
location /healthz { access_log off; return 200 'ok'; }
|
||||
|
||||
location /api {
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass_request_headers on;
|
||||
proxy_hide_header Access-Control-Allow-Origin;
|
||||
proxy_buffering off;
|
||||
proxy_pass http://backend:8090;
|
||||
}
|
||||
|
||||
location / { try_files $uri $uri/ /index.html; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user