docs: cleanup apache
This commit is contained in:
parent
ec5ad0ff41
commit
6616f246a4
1 changed files with 6 additions and 10 deletions
16
README.md
16
README.md
|
@ -74,16 +74,14 @@ If you have access to a server that supports one of the sources below, I recomme
|
||||||
- Install with [nvm](https://github.com/nvm-sh/nvm)
|
- Install with [nvm](https://github.com/nvm-sh/nvm)
|
||||||
- 🐘 At least [PostgreSQL](https://www.postgresql.org/) v12
|
- 🐘 At least [PostgreSQL](https://www.postgresql.org/) v12
|
||||||
- 🍱 At least [Redis](https://redis.io/) v6 (v7 recommend)
|
- 🍱 At least [Redis](https://redis.io/) v6 (v7 recommend)
|
||||||
|
- Web Proxy (one of the following)
|
||||||
|
- 🍀 Nginx (recommended)
|
||||||
|
- 🪶 Apache
|
||||||
|
|
||||||
### 😗 Optional dependencies
|
### 😗 Optional dependencies
|
||||||
|
|
||||||
- [FFmpeg](https://ffmpeg.org/) for video transcoding
|
- [FFmpeg](https://ffmpeg.org/) for video transcoding
|
||||||
- [ElasticSearch](https://www.elastic.co/elasticsearch/) for full-text search
|
- [ElasticSearch](https://www.elastic.co/elasticsearch/) for full-text search
|
||||||
- OpenSearch/Sonic are not supported as of right now
|
|
||||||
- Management (choose one of the following)
|
|
||||||
- 🛰️ [pm2](https://pm2.io/)
|
|
||||||
- 🐳 [Docker](https://docker.com)
|
|
||||||
- Service manager (systemd, openrc, etc)
|
|
||||||
|
|
||||||
### 🏗️ Build dependencies
|
### 🏗️ Build dependencies
|
||||||
|
|
||||||
|
@ -138,18 +136,16 @@ psql postgres -c "create database calckey with encoding = 'UTF8';"
|
||||||
|
|
||||||
For migrating from Misskey v13, Misskey v12, and Foundkey, read [this document](https://codeberg.org/calckey/calckey/src/branch/develop/docs/migrate.md).
|
For migrating from Misskey v13, Misskey v12, and Foundkey, read [this document](https://codeberg.org/calckey/calckey/src/branch/develop/docs/migrate.md).
|
||||||
|
|
||||||
## Web proxy
|
## 🌐 Web proxy
|
||||||
|
|
||||||
Choose between NGINX or Apache (we recommend NGINX)
|
### 🍀 Nginx (recommended)
|
||||||
|
|
||||||
### 🍀 NGINX
|
|
||||||
|
|
||||||
- Run `sudo cp ./calckey.nginx.conf /etc/nginx/sites-available/ && cd /etc/nginx/sites-available/`
|
- Run `sudo cp ./calckey.nginx.conf /etc/nginx/sites-available/ && cd /etc/nginx/sites-available/`
|
||||||
- Edit `calckey.nginx.conf` to reflect your instance properly
|
- Edit `calckey.nginx.conf` to reflect your instance properly
|
||||||
- Run `sudo ln -s ./calckey.nginx.conf ../sites-enabled/calckey.nginx.conf`
|
- Run `sudo ln -s ./calckey.nginx.conf ../sites-enabled/calckey.nginx.conf`
|
||||||
- Run `sudo nginx -t` to validate that the config is valid, then restart the NGINX service.
|
- Run `sudo nginx -t` to validate that the config is valid, then restart the NGINX service.
|
||||||
|
|
||||||
### Apache 2
|
### 🪶 Apache
|
||||||
|
|
||||||
- Run `sudo cp ./calckey.apache.conf /etc/apache2/sites-available/ && cd /etc/apache2/sites-available/`
|
- Run `sudo cp ./calckey.apache.conf /etc/apache2/sites-available/ && cd /etc/apache2/sites-available/`
|
||||||
- Edit `calckey.apache.conf` to reflect your instance properly
|
- Edit `calckey.apache.conf` to reflect your instance properly
|
||||||
|
|
Loading…
Reference in a new issue