main
Mel 3 years ago
parent aca6c98b9f
commit dcdc482146

@ -9,7 +9,7 @@
"state": {
"type": "markdown",
"state": {
"file": "Networks/Tools Server.md",
"file": "Networks/Server Tools.md",
"mode": "preview"
}
}
@ -68,7 +68,7 @@
"state": {
"type": "backlink",
"state": {
"file": "Networks/Tools Server.md",
"file": "Networks/Server Tools.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@ -99,15 +99,15 @@
},
"active": "c1cbd199334b4022",
"lastOpenFiles": [
"Networks/Server Tools.md",
"Networks/Configuring Caddy.md",
"Networks/VPS Console Dialogue.md",
"Networks/Tools Server.md",
"Reading list/@Reading master.md",
"Internet snippets/Mating.md",
"Computer setup/Tutanota.md",
"Computer setup/Privacy & Security.md",
"Computer setup/Email & Communication.md",
"Networks/Cloud Server.md",
"Networks/Alias Server.md",
"Computer setup/Element.md",
"Computer setup/@Computer Set Up.md"
"Networks/Postfix config.md",
"Networks/Monit config.md",
"Networks/Docker config.md",
"Networks/Caddy config.md"
]
}

@ -66,7 +66,7 @@ Email account | Email provider | Email client
#### Email aliasing
In order to protect email addresses, i have an [[Alias Server|alias manager]], [SimpleLogin](https://simplelogin.io), for managing certain subscriptions.
In order to protect email addresses, i have an [[Server Alias|alias manager]], [SimpleLogin](https://simplelogin.io), for managing certain subscriptions.
Below is an oerview of existing aliases:

@ -12,7 +12,7 @@ Product:
---
Parent:: [[Storage and Syncing]], [[Cloud Server]]
Parent:: [[Storage and Syncing]], [[Server Cloud]]
---

@ -72,7 +72,7 @@ Securing [[Email & Communication|emails]] take two main forms:
2. Dedicated services embedding encryption and privacy policies such as [[Tutanota]]
In addition, to protect mailboxes online, a email alias provider can be used. [SimpleLogin](https://simplelogin.io), a French tech, allows this easily and gives the option to [[Alias Server|self host]].
In addition, to protect mailboxes online, a email alias provider can be used. [SimpleLogin](https://simplelogin.io), a French tech, allows this easily and gives the option to [[Server Alias|self host]].
 

@ -61,7 +61,7 @@ All tasks and To-dos linked to IT and Computer
- [x] Continue building server capabilities ✅ 2021-09-15
- [ ] Find a good (&synced) [[IT & Computer#App dependencies|Calendar]] platform
- [x] Set-up [[Nextcloud]]
- [x] Transfer [[Alias Server|aliases]]
- [x] Transfer [[Server Alias|aliases]]
- [x] Computer security: set-up [[IT & Computer#Snort|Snort]] ✅ 2021-09-15
- [x] Find a good downloading platform to replace [[IT & Computer#App dependencies|Vuze]]
- [x] Find an email Client to replace [[IT & Computer#App dependencies|Spark]] ✅ 2021-09-14

@ -78,16 +78,16 @@ style: number
1. [[Domains]]
2. [[mfxm Website Scope]]
2. [[Selfhosting|Self-hosting]]
1. [[Alias Server]]
2. [[Cloud Server]]
3. [[Tools Server]]
1. [[Server Alias]]
2. [[Server Cloud]]
3. [[Server Tools]]
3. [[mfxm Website Scope#URL Shortening|URL Shortening]]
3. Tools
1. [[VPS Console Dialogue]]
2. [[Postfix config|Postfix]]
3. [[Monit config|monit]]
4. [[Docker config|docker]]
5. [[Caddy config|caddy]]
2. [[Configuring Postfix|Postfix]]
3. [[Configuring Monit|monit]]
4. [[Configuring Docker|docker]]
5. [[Configuring Caddy|caddy]]
 
@ -165,9 +165,9 @@ hide task count
![[Domains#^DomainCost]]
![[mfxm Website Scope#^mfxmWSCost]]
![[Alias Server#^AliasServerCost]]
![[Cloud Server#^CloudServerCost]]
![[Tools Server#^ToolsServerCost]]
![[Server Alias#^AliasServerCost]]
![[Server Cloud#^CloudServerCost]]
![[Server Tools#^ToolsServerCost]]
|<mark class="blue">_**Aggregation**_</mark> | One-off Cost | Subscription p.a.

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
---
Parent:: [[Selfhosting]], [[Tools Server]]
Parent:: [[Selfhosting]], [[Server Tools]]
---
@ -110,6 +110,10 @@ Caddy will fetch a **SSL certificate** for all sub-domains and addresses present
&emsp;
---
&emsp;
#### Caddy configuration file
Caddy's configuration file is inder:
@ -129,6 +133,10 @@ Default configuration is:
&emsp;
---
&emsp;
#### PHP configuration file
To update php, edit the following file:
@ -148,6 +156,50 @@ Once this is done, restart php:
&emsp;
---
&emsp;
#### Configuring CORS
&emsp;
##### Preliminary CORS code snippet
>(cors) {
> @origin{args.0} header Origin {args.0}
> header @origin{args.0} Access-Control-Allow-Origin "{args.0}"
>}
&emsp;
##### CORS for a sub-domain
> import cors (http://subdomain.tld)
> header Access-Control-Allow-Methods "POST, GET, OPTIONS, PUT"
> header Access-Control-Allow-Headers "*"
&emsp;
---
&emsp;
#### Configuration of a sub-domain suffix
Configuration requires to add the following in the sub-domain definition:
> handle_path /(suffix)\* {
> root * /(path to suffix)
> file_server
> }
&emsp;
---
&emsp;
#### Configuration with the docker network
Configuration of a service attached to the docker network is easy:
@ -159,6 +211,10 @@ Configuration of a service attached to the docker network is easy:
&emsp;
---
&emsp;
#### Configuring login with a cookie
```ad-info

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
---
Parent:: [[Selfhosting]], [[Alias Server]], [[Tools Server]]
Parent:: [[Selfhosting]], [[Server Alias]], [[Server Tools]]
---

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
---
Parent:: [[Selfhosting]], [[Cloud Server]], [[Alias Server]], [[Tools Server]]
Parent:: [[Selfhosting]], [[Server Cloud]], [[Server Alias]], [[Server Tools]]
---

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
---
Parent:: [[Selfhosting]], [[Alias Server]], [[Cloud Server]], [[Tools Server]]
Parent:: [[Selfhosting]], [[Server Alias]], [[Server Cloud]], [[Server Tools]]
&emsp;
@ -241,7 +241,7 @@ Ports (25, 465, 587) need to be opened by the firewall:
##### Networks
Definition of permitted networks to restrict access (in [[Postfix config#Main cf|main.cf]]).
Definition of permitted networks to restrict access (in [[Configuring Postfix#Main cf|main.cf]]).
&emsp;
@ -258,7 +258,7 @@ Options are coded in the file by default. Uncheck necessary directives.
##### SSL cert
Postfix SSL certs need to match that of the server (in [[Postfix config#Main cf|main.cf]]).
Postfix SSL certs need to match that of the server (in [[Configuring Postfix#Main cf|main.cf]]).
&emsp;

@ -57,7 +57,7 @@ style: number
|---------------|----------|------------
| **[[@lebv.org\|lebv.org]]** | Email & family archive | family email service; family archive website
| <p style="color:cyan">**lebastart.fr**</p> | Email | Secure email service ([[Tutanota]])
| **[[mfxm Website Scope\|mfxm.fr]]** | [[Selfhosting\|Self-hosting]] Tools | [[NextCloud]], [[Alias Server\|Email Alias]], [[mfxm Website Scope#URL Shortening\|URL Shortening]]
| **[[mfxm Website Scope\|mfxm.fr]]** | [[Selfhosting\|Self-hosting]] Tools | [[NextCloud]], [[Server Alias\|Email Alias]], [[mfxm Website Scope#URL Shortening\|URL Shortening]]
&emsp;

@ -164,7 +164,7 @@ title: Documentation
[Nagios](https://nagios.org)
```
Monitoring is implemented through a free and open-source tool called [[Monit config|monit]].
Monitoring is implemented through a free and open-source tool called [[Configuring Monit|monit]].
&emsp;

@ -134,7 +134,7 @@ Potentially, the Docker group needs to be defined:
`sudo groupadd docker`
```
Currently running [[Docker config|docker]] containers
Currently running [[Configuring Docker|docker]] containers
```ad-bug
title: sl-network
@ -172,13 +172,13 @@ All documentation in this [link](https://certbot.eff.org).
##### Postfix
Mail Transfer Agent. [[Postfix config|Configuration]] is tailor-made by SimpleLogin to fit their needs.
Mail Transfer Agent. [[Configuring Postfix|Configuration]] is tailor-made by SimpleLogin to fit their needs.
&emsp;
#### Server-side Monitoring
Refer to the [[Monit config|monit section]] for further information on installation and configuration.
Refer to the [[Configuring Monit|monit section]] for further information on installation and configuration.
List of monitored services:
- System
@ -263,8 +263,8 @@ Once the change is made, restart the app container:
&emsp;
- [ ] [[Alias Server]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15
- [x] [[Alias Server]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14
- [ ] [[Server Alias]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15
- [x] [[Server Alias]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14
- [x] Understand why Gmail does not work
&emsp;

@ -180,7 +180,7 @@ In order to restart mysql, the command is:
##### Postfix
Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Postfix config|system]] is required for every server to work correctly.
Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Configuring Postfix|system]] is required for every server to work correctly.
&emsp;
@ -223,7 +223,7 @@ Firewall management.
#### Server-side monitoring
[Monit](https://mmonit.com/monit/documentation/monit.html) is a process and daemon monitoring tool. More information on operating the software can be found [[Monit config|here]].
[Monit](https://mmonit.com/monit/documentation/monit.html) is a process and daemon monitoring tool. More information on operating the software can be found [[Configuring Monit|here]].
List of monitored services:
- System
@ -376,8 +376,8 @@ title: Nextcloud tutorial
&emsp;
- [ ] [[Cloud Server]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15
- [x] [[Cloud Server]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14
- [ ] [[Server Cloud]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15
- [x] [[Server Cloud]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14
- [x] Set-up landing page
&emsp;

@ -130,7 +130,7 @@ IP: 17.27.37.x
##### Caddy
[[Caddy config|caddy]] is the webserver of choice. Refer to the dedicated note for config and parametrisation.
[[Configuring Caddy|caddy]] is the webserver of choice. Refer to the dedicated note for config and parametrisation.
```ad-bug
title: authentication token
@ -167,7 +167,7 @@ With the following parameters:
##### Postfix
Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Postfix config|system]] is required for every server to work correctly.
Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Configuring Postfix|system]] is required for every server to work correctly.
&emsp;
@ -198,7 +198,7 @@ JavaScript & JS package manager.
| Service | Used value
|---------|:---------:
&emsp; | &emsp;
**Network: [[Docker config\|docker]] dedicated** | 17.27.37.x
**Network: [[Configuring Docker\|docker]] dedicated** | 17.27.37.x
**IP: pw-manager** | 17.27.37.3
**IP: Mininote** | 17.27.37.7
**IP: Git** | 172.21.0.3
@ -252,7 +252,7 @@ The admin panel needs to be set up with an authentication token and is accessed
#### Personal notes
[MiniNote](https://github.com/muety/mininote) is a FOSS enabling self-hosting with a server-side encryption.
[StandardNotes](https://standardnotes.com) is a program enabling self-hosting with a server-side encryption.
&emsp;
@ -260,18 +260,54 @@ The admin panel needs to be set up with an authentication token and is accessed
```ad-info
title: service parameters
**IP**: 17.27.37.7:3000
**DockerID**: 73d91d338b533c05a4ad15968efb0470e924f780d016fab13c98f8f1dc3820af
**DockerName**: mininote_mininote_1
**IP**: 172.22.0.1:2700
**DockerNames**: api-gateway, auth-worker, syncing-server-js-worker, auth, syncing-server-js, db, cache
---
**Address**: https://notes.mfxm.fr
**Address**: https://st-notes.mfxm.fr
```
&emsp;
##### Configuration (notes)
2 files are used to configure the service:
`~/standalone/.env`
`~/standalone/docker/auth/.env`
Docs can be found [here](https://docs.standardnotes.com/self-hosting/docker).
&emsp;
##### User management (notes)
No user management per se. [[Caddy config|Caddy]] provides with a layer of authentication to restrict users to access the full service.
No user management per se. .env file allows (or not) to restrict new registration.
&emsp;
##### StandardNotes extensions
```ad-info
title: service parameters
**Location**: ~/standardnotes-extensions
**reverse-proxy**: ~/standardnotes-extensions/public
---
**Address**: https://tools.mfxm.fr/extensions/index.json
```
&emsp;
StandardNotes has developped extensions to customise both the skin and editor of the app. It is a paying feature normally but can be self-hosted and free.
One GitHub user is offering a [repo](https://github.com/iganeshk/standardnotes-extensions) for extensions that can be cloned and linked to the application.
* **Configuration file**
`~/standardnotes-extensions/.env`
* **Repository update**
`sudo python3 build_repo.py` In the main folder.
&emsp;
@ -348,7 +384,7 @@ Gitea can work on internal mail points through:
#### Server-side Monitoring
Refer to the [[Monit config|monit section]] for further information on installation and configuration.
Refer to the [[Configuring Monit|monit section]] for further information on installation and configuration.
List of monitored services:
- System
@ -401,7 +437,7 @@ List of monitored services:
&emsp;
- [ ] [[Tools Server]]: Backup server 🔁 every 6 months on the 1st Tuesday
- [ ] [[Server Tools]]: Backup server 🔁 every 6 months on the 1st Tuesday
- [x] Set-up landing page
&emsp;

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
---
Parent:: [[Selfhosting]], [[Alias Server]], [[Cloud Server]], [[Tools Server]]
Parent:: [[Selfhosting]], [[Server Alias]], [[Server Cloud]], [[Server Tools]]
&emsp;
@ -389,7 +389,7 @@ title: Change sub-folder permission in a folder
#### File transfer
Instructions to use rclone for file transfers can be found [[Cloud Server#Cloud2Cloud|here]].
Instructions to use rclone for file transfers can be found [[Server Cloud#Cloud2Cloud|here]].
&emsp;

@ -86,7 +86,7 @@ title: sub-domain address
https://emailalias.mfxm.fr
```
Server details to be found [[Alias Server|here]]
Server details to be found [[Server Alias|here]]
&emsp;
@ -116,7 +116,7 @@ title: sub-domain address
https://cloud.mfxm.fr
```
Server details to be found [[Cloud Server|here]]
Server details to be found [[Server Cloud|here]]
&emsp;
@ -154,7 +154,7 @@ title: sub-domain address
https://pw-manager.mfxm.fr
```
Server details to be found [[Tools Server#Password manager|here]]
Server details to be found [[Server Tools#Password manager|here]]
&emsp;
@ -168,10 +168,14 @@ Server details to be found [[Tools Server#Password manager|here]]
```ad-bug
title: sub-domain address
https://notes.mfxm.fr
https://st-notes.mfxm.fr
---
Extensions
https://tools.mfxm.fr/extensions/index.json
```
Server details to be found [[Tools Server#Personal notes|here]]
Server details to be found [[Server Tools#Personal notes|here]]
&emsp;
@ -188,7 +192,7 @@ title: sub-domain address
https://git.mfxm.fr
```
Server details to be found [[Tools Server#Git repository|here]]
Server details to be found [[Server Tools#Git repository|here]]
```ad-info
title: link to repo

Loading…
Cancel
Save