部署h5
This commit is contained in:
@@ -49,6 +49,14 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location = /h5 {
|
||||
return 301 /h5/;
|
||||
}
|
||||
|
||||
location /h5/{
|
||||
try_files $uri $uri/ /h5/index.html;
|
||||
}
|
||||
|
||||
# Uploaded files served by the API
|
||||
location /uploads/ {
|
||||
proxy_pass http://api:3001/uploads/;
|
||||
|
||||
Reference in New Issue
Block a user