Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hengshanmwc/vue-nest
业务模版:vue、nest
https://github.com/hengshanmwc/vue-nest
Last synced: about 1 month ago
JSON representation
业务模版:vue、nest
- Host: GitHub
- URL: https://github.com/hengshanmwc/vue-nest
- Owner: hengshanMWC
- Created: 2023-10-12T08:28:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-27T09:07:09.000Z (about 1 year ago)
- Last Synced: 2023-12-27T16:13:09.167Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```bash
sudo vim /etc/hosts127.0.0.1 vue-nest.com
```
```bash
brew install mkcert
mkcert vue-nest.com
``````bash
// nginx.conf
server {
listen 443 ssl;server_name vue-nest.com; # 设置域名,将请求映射到此配置
# 以自己的实际文件路径为准
ssl_certificate /opt/homebrew/etc/nginx/certs/vue-next.com.pem;
ssl_certificate_key /opt/homebrew/etc/nginx/certs/vue-next.com-key.pem;ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;# 匹配任何以 静态资源,匹配成功则停止往下搜索正则
location ^~ /public/ {
root /Applications/code/word/my/vue-nest/packages/server; # 静态资源目录的绝对路径
}
location ^~ /api/ {
proxy_pass http://localhost:8081;
}
location / {
proxy_pass http://localhost:8081/static/$request_uri;
}
}```