test update
This commit is contained in:
parent
f3369c218d
commit
199be46721
39 changed files with 310 additions and 45 deletions
64
README.md
64
README.md
|
|
@ -2,4 +2,66 @@
|
|||
|
||||
|
||||
|
||||
npx create-docusaurus@latest itblog.site classic --typescript
|
||||
npx create-docusaurus@latest itblog.site classic --typescript
|
||||
|
||||
`pnpm start`
|
||||
Starts the development server.
|
||||
|
||||
`pnpm build`
|
||||
Bundles your website into static files for production.
|
||||
|
||||
`pnpm serve`
|
||||
Serves the built website locally.
|
||||
|
||||
`pnpm deploy`
|
||||
Publishes the website to GitHub pages.
|
||||
|
||||
We recommend that you begin by typing:
|
||||
|
||||
`cd itblog.site`
|
||||
`pnpm start`
|
||||
|
||||
|
||||
|
||||
sudo nano /etc/caddy/Caddyfile
|
||||
|
||||
|
||||
cd /var/www
|
||||
sudo git clone https://lavren1974.forgejo.ru/lavren1974/MyBlogs.git
|
||||
|
||||
# Меняем владельца
|
||||
sudo chown -R caddy:caddy /var/www/MyBlogs
|
||||
|
||||
# Меняем права
|
||||
sudo chmod -R 755 /var/www/MyBlogs
|
||||
|
||||
sudo nano /etc/caddy/Caddyfile
|
||||
|
||||
```
|
||||
:8080 {
|
||||
root * /var/www/MyBlogs/itblog.site/build
|
||||
file_server
|
||||
encode gzip
|
||||
}
|
||||
```
|
||||
|
||||
sudo systemctl restart caddy
|
||||
sudo systemctl status caddy
|
||||
|
||||
curl -v http://localhost:8080
|
||||
|
||||
## Proxmox
|
||||
|
||||
```
|
||||
pve.lichess.host {
|
||||
reverse_proxy https://localhost:8006 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
itblog.lichess.host {
|
||||
reverse_proxy 139.60.161.10:8080
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue