first commit
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
nginx
|
||||
python run.py
|
||||
|
After Width: | Height: | Size: 159 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 242 KiB |
|
After Width: | Height: | Size: 432 KiB |
|
After Width: | Height: | Size: 111 KiB |
|
After Width: | Height: | Size: 236 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 352 KiB |
|
After Width: | Height: | Size: 316 KiB |
|
After Width: | Height: | Size: 289 KiB |
|
After Width: | Height: | Size: 409 KiB |
@@ -0,0 +1,12 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
location / {
|
||||
root /opt/backend-server/web/dist;
|
||||
index index.html index.htm;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
location ^~ /api/ {
|
||||
proxy_pass http://127.0.0.1:9999;
|
||||
}
|
||||
}
|
||||