We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前看到以下命令会构建出www的静态资源
yarn install yarn build:deps yarn build:sandpack
Caddy依赖的配置是以下几项
请问如果替换成nginx的话,是否只要满足以上3点就可以了? 是否还依赖Caddy的其他特性?
The text was updated successfully, but these errors were encountered:
请问如果替换成nginx的话,是否只要满足以上3点就可以了?
可以的,只需要配置好 https 和 root 与 add_header 即可
root
add_header
Sorry, something went wrong.
请问如果替换成nginx的话,是否只要满足以上3点就可以了? 可以的,只需要配置好 https 和 root 与 add_header 即可
感谢!
附上nginx配置
server { listen 443 ssl; server_name local.netease.com; ssl_certificate /etc/nginx/ssl/local.netease.com.pem; ssl_certificate_key /etc/nginx/ssl/local.netease.com-key.pem; root /usr/share/nginx/html/; add_header Origin-Agent-Cluster "?0"; }
/usr/share/nginx/html/ 对应 https://github.com/NetEase/codesandbox-client.git build出来的静态文件 证书文件可以从 https://github.com/NetEase/tango/tree/main/apps/playground 找到
/usr/share/nginx/html/
No branches or pull requests
目前看到以下命令会构建出www的静态资源
Caddy依赖的配置是以下几项
请问如果替换成nginx的话,是否只要满足以上3点就可以了?
是否还依赖Caddy的其他特性?
The text was updated successfully, but these errors were encountered: