You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/server/security/index.md
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,11 @@ We provide a template configuration file <GitHubRepo id="MerginMaps/server/blob/
13
13
Let's have a quick look at the main sections:
14
14
15
15
```shell
16
-
server {
17
-
listen 443 ssl;
18
-
server_name merginmaps.company.com;# FIXME
19
-
client_max_body_size 4G;
20
-
...
16
+
server {
17
+
listen 443 ssl;
18
+
server_name merginmaps.company.com;# FIXME
19
+
client_max_body_size 4G;
20
+
...
21
21
```
22
22
23
23
Here we enable SSL via the default `443` port and configure name-based HTTPS server via `server_name`. Here you should change this according to your target server name.
@@ -27,39 +27,39 @@ We don't recommend setting a `client_max_body_size` higher than specified, becau
27
27
Next, you need to point your certificate files to NGINX configuration. This is done on the next lines on the secured configuration:
The above example uses automated keys generated by CertBot. For more information, visit [CertBot](https://certbot.eff.org/instructions) website and check how you can generate your own keys.
37
37
38
38
Some extra security settings for HTTP headers are provided. Please review them and update in accordance to your requirements.
39
39
40
40
```shell
41
-
# Prevent crawlers from indexing and following links for all content served from the mergin app
0 commit comments