mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
83909abd6d1e70935a1cb891e2feaa3eda2d6fcf
rtty-site
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Lint with ESLint
npm run lint
OpenResty
/etc/openresty/nginx.conf
http {
...
include /etc/openresty/rtty-site.conf;
}
/etc/openresty/rtty-site.conf
server {
listen 443 ssl;
server_name rttys.net;
ssl_certificate /etc/openresty/ssl/rttys.net/cert.pem;
ssl_certificate_key /etc/openresty/ssl/rttys.net/cert.key;
location = /rtty-version.json {
root assets;
}
location /dl/ {
root assets;
}
location / {
root html/rtty-site;
}
}
/usr/local/openresty/nginx/assets/rtty-version.json
{"rtty":"9.0.0","rttys":"5.1.0"}
/usr/local/openresty/nginx/html/rtty-site/
/usr/local/openresty/nginx/assets/dl/
Languages
C
96.1%
CMake
2.5%
Shell
1.4%