Fixing formatting
Этот коммит содержится в:
@@ -55,7 +55,8 @@
|
|||||||
* ```~$ sudo touch /etc/init/mattermost.conf```
|
* ```~$ sudo touch /etc/init/mattermost.conf```
|
||||||
* ```~$ sudo vi /etc/init/mattermost.conf```
|
* ```~$ sudo vi /etc/init/mattermost.conf```
|
||||||
* Copy the following lines into `/etc/init/mattermost.conf`
|
* Copy the following lines into `/etc/init/mattermost.conf`
|
||||||
* ```start on runlevel [2345]
|
```
|
||||||
|
start on runlevel [2345]
|
||||||
stop on runlevel [016]
|
stop on runlevel [016]
|
||||||
respawn
|
respawn
|
||||||
chdir /home/ubuntu/mattermost
|
chdir /home/ubuntu/mattermost
|
||||||
@@ -90,7 +91,8 @@
|
|||||||
* Create a configuration for Mattermost
|
* Create a configuration for Mattermost
|
||||||
* ```~$ sudo touch /etc/nginx/sites-available/mattermost```
|
* ```~$ sudo touch /etc/nginx/sites-available/mattermost```
|
||||||
* Below is a sample configuration with the minimum settings required to configure Mattermost.
|
* Below is a sample configuration with the minimum settings required to configure Mattermost.
|
||||||
* ```
|
*
|
||||||
|
```
|
||||||
server {
|
server {
|
||||||
server_name mattermost.example.com;
|
server_name mattermost.example.com;
|
||||||
location / {
|
location / {
|
||||||
@@ -104,7 +106,8 @@
|
|||||||
proxy_set_header X-Frame-Options SAMEORIGIN;
|
proxy_set_header X-Frame-Options SAMEORIGIN;
|
||||||
proxy_pass http://localhost:8065;
|
proxy_pass http://localhost:8065;
|
||||||
}
|
}
|
||||||
}```
|
}
|
||||||
|
```
|
||||||
* Remove the existing file with
|
* Remove the existing file with
|
||||||
* ```~$ sudo rm /etc/nginx/sites-enabled/default```
|
* ```~$ sudo rm /etc/nginx/sites-enabled/default```
|
||||||
* Link the mattermost config by typing:
|
* Link the mattermost config by typing:
|
||||||
@@ -132,7 +135,8 @@
|
|||||||
Email Address []:admin@mattermost.example.com
|
Email Address []:admin@mattermost.example.com
|
||||||
```
|
```
|
||||||
1. Modify the file at `/etc/nginx/sites-available/mattermost` and add the following lines
|
1. Modify the file at `/etc/nginx/sites-available/mattermost` and add the following lines
|
||||||
* ```
|
*
|
||||||
|
```
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name mattermost.example.com;
|
server_name mattermost.example.com;
|
||||||
@@ -156,7 +160,6 @@
|
|||||||
gzip off;
|
gzip off;
|
||||||
proxy_set_header X-Forwarded-Ssl on;
|
proxy_set_header X-Forwarded-Ssl on;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Finish Mattermost Server setup
|
## Finish Mattermost Server setup
|
||||||
1. Navigate to https://mattermost.example.com and create a team and user.
|
1. Navigate to https://mattermost.example.com and create a team and user.
|
||||||
1. The first user in the system is automatically granted the `system_admin` role, which gives you access to the System Console.
|
1. The first user in the system is automatically granted the `system_admin` role, which gives you access to the System Console.
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user