https://github.com/setoelkahfi/personal-website
https://github.com/setoelkahfi/personal-website
css html nginx
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/setoelkahfi/personal-website
- Owner: setoelkahfi
- Created: 2019-02-22T00:35:55.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-12-29T14:47:56.000Z (over 1 year ago)
- Last Synced: 2025-12-04T21:00:02.643Z (7 months ago)
- Topics: css, html, nginx
- Language: HTML
- Homepage: https://setoelkahfi.com/
- Size: 2.41 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# personal-website
This is the source and **nginx** config file for my personal website.
## deployment
Given you have the key to the server:
```bash
$ scp index.html deploy@api.smbcloud.xyz:/var/www/setoelkahfi.com
```
Of course that will not work because of the `permission denied` error. So, upload to the `home` folder:
```bash
$ scp index.html deploy@api.smbcloud.xyz:
$ scp -r src deploy@api.smbcloud.xyz:
```
Then move them to `/var/www/setoelkahfi.com/`:
```bash
$ sudo mv index.html /var/www/setoelkahfi.com/
$ sudo mv src /var/www/setoelkahfi.com/src
```
## nginx
Download the **nginx** config for this website:
```bash
$ scp deploy@api.smbcloud.xyz:/etc/nginx/sites-enabled/setoelkahfi.com .smb/nginx-setoelkahfi.com
```