mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(docs): numbering in Nginx
This commit is contained in:
parent
34ffba54ac
commit
ba17ce8616
@ -9,7 +9,7 @@
|
|||||||
"pOsGYCXsbNQG"
|
"pOsGYCXsbNQG"
|
||||||
],
|
],
|
||||||
"title": "User Guide",
|
"title": "User Guide",
|
||||||
"notePosition": 100,
|
"notePosition": 80,
|
||||||
"prefix": null,
|
"prefix": null,
|
||||||
"isExpanded": false,
|
"isExpanded": false,
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@ -2009,21 +2009,21 @@
|
|||||||
"name": "internalLink",
|
"name": "internalLink",
|
||||||
"value": "IakOLONlIfGI",
|
"value": "IakOLONlIfGI",
|
||||||
"isInheritable": false,
|
"isInheritable": false,
|
||||||
"position": 80
|
"position": 70
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
"name": "internalLink",
|
"name": "internalLink",
|
||||||
"value": "ODY7qQn5m2FT",
|
"value": "ODY7qQn5m2FT",
|
||||||
"isInheritable": false,
|
"isInheritable": false,
|
||||||
"position": 90
|
"position": 80
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
"name": "internalLink",
|
"name": "internalLink",
|
||||||
"value": "CoFPLs3dRlXc",
|
"value": "CoFPLs3dRlXc",
|
||||||
"isInheritable": false,
|
"isInheritable": false,
|
||||||
"position": 100
|
"position": 90
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "label",
|
"type": "label",
|
||||||
|
@ -3,21 +3,21 @@ Configure Nginx proxy and HTTPS. The operating system here is Ubuntu 18.04.
|
|||||||
|
|
||||||
1. Download Nginx and remove Apache2
|
1. Download Nginx and remove Apache2
|
||||||
|
|
||||||
```sh
|
```
|
||||||
sudo apt-get install nginx
|
sudo apt-get install nginx
|
||||||
sudo apt-get remove apache2
|
sudo apt-get remove apache2
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Create configure file
|
2. Create configure file
|
||||||
|
|
||||||
```sh
|
```
|
||||||
cd /etc/nginx/conf.d
|
cd /etc/nginx/conf.d
|
||||||
vim default.conf
|
vim default.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Fill the file with the context shown below, part of the setting show be changed. Then you can enjoy your web with HTTPS forced and proxy.
|
3. Fill the file with the context shown below, part of the setting show be changed. Then you can enjoy your web with HTTPS forced and proxy.
|
||||||
|
|
||||||
```conf
|
```
|
||||||
# This part is for proxy and HTTPS configure
|
# This part is for proxy and HTTPS configure
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user