You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/28 12:53:11 UTC
[GitHub] [apisix] qiufeihai opened a new issue #2550: request help: how to serve static file with apisix
qiufeihai opened a new issue #2550:
URL: https://github.com/apache/apisix/issues/2550
### Issue description
how to serve static file with apisix
### Environment
* apisix version (cmd: `apisix version`): 2.0
* OS: Centos
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Miss-you commented on issue #2550: request help: how to serve static file with apisix
Posted by GitBox <gi...@apache.org>.
Miss-you commented on issue #2550:
URL: https://github.com/apache/apisix/issues/2550#issuecomment-718887728
client -> apisix -> server (hugo/gin/ and so on.)
https://github.com/gohugoio/hugo
https://github.com/gin-gonic/gin
client->CDN(such as Cloudfare)->API Gateway(Apache APISIX) -> your server (hugo/gin/httpd/nginx)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] belongwqz commented on issue #2550: request help: how to serve static file with apisix
Posted by GitBox <gi...@apache.org>.
belongwqz commented on issue #2550:
URL: https://github.com/apache/apisix/issues/2550#issuecomment-759249500
How to setup apisix to get the same effect in nginx as:
```
location /static_sub_path/ {
alias /local_static_file_path/;
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] membphis closed issue #2550: request help: how to serve static file with apisix
Posted by GitBox <gi...@apache.org>.
membphis closed issue #2550:
URL: https://github.com/apache/apisix/issues/2550
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] membphis commented on issue #2550: request help: how to serve static file with apisix
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2550:
URL: https://github.com/apache/apisix/issues/2550#issuecomment-717955655
apisix is an API gateway. for static files, you can use another nginx upstream.
client -> apisix -> nginx upstream(static file)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org