diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-03-08 15:23:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-08 23:23:18 +0900 |
| commit | 26d90cd030a4fb802b68e2bb1f117f9b925c0f6d (patch) | |
| tree | 10a11b11c4788521be4552d809f5e7a6812779f0 /.config/example.yml | |
| parent | Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff) | |
| download | misskey-26d90cd030a4fb802b68e2bb1f117f9b925c0f6d.tar.gz misskey-26d90cd030a4fb802b68e2bb1f117f9b925c0f6d.tar.bz2 misskey-26d90cd030a4fb802b68e2bb1f117f9b925c0f6d.zip | |
remove HTTPS handling (#8380)
Diffstat (limited to '.config/example.yml')
| -rw-r--r-- | .config/example.yml | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/.config/example.yml b/.config/example.yml index 4da7399359..ef91c86f52 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -15,10 +15,7 @@ url: https://example.tld/ #───┘ Port and TLS settings └─────────────────────────────────── # -# Misskey supports two deployment options for public. -# - -# Option 1: With Reverse Proxy +# Misskey requires a reverse proxy to support HTTPS connections. # # +----- https://example.tld/ ------------+ # +------+ |+-------------+ +----------------+| @@ -26,30 +23,12 @@ url: https://example.tld/ # +------+ |+-------------+ +----------------+| # +---------------------------------------+ # -# You need to setup reverse proxy. (eg. nginx) -# You do not define 'https' section. - -# Option 2: Standalone -# -# +- https://example.tld/ -+ -# +------+ | +---------------+ | -# | User | ---> | | Misskey (443) | | -# +------+ | +---------------+ | -# +------------------------+ -# -# You need to run Misskey as root. -# You need to set Certificate in 'https' section. - -# To use option 1, uncomment below line. -#port: 3000 # A port that your Misskey server should listen. - -# To use option 2, uncomment below lines. -#port: 443 +# You need to set up a reverse proxy. (e.g. nginx) +# An encrypted connection with HTTPS is highly recommended +# because tokens may be transferred in GET requests. -#https: -# # path for certification -# key: /etc/letsencrypt/live/example.tld/privkey.pem -# cert: /etc/letsencrypt/live/example.tld/fullchain.pem +# The port that your Misskey server should listen on. +port: 3000 # ┌──────────────────────────┐ #───┘ PostgreSQL configuration └──────────────────────────────── |