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
For security and privacy reasons Mergin Maps deployments should enable HTTPS secured connection via certificate file.
4
+
5
+
We provide a template configuration file [ssl-proxy.conf](https://github.com/MerginMaps/server/blob/master/ssl-proxy.conf) as base for your costumization.
6
+
7
+
Let's have a quick look at the main sections:
8
+
9
+
```shell
10
+
server {
11
+
listen 443 ssl;
12
+
server_name merginmaps.company.com;# FIXME
13
+
client_max_body_size 4G;
14
+
15
+
...
16
+
```
17
+
18
+
Here we enable SSL via the defaul `443` port and configure name-based HTTPS server via `server_name`. Here you should change this according to your target server name.
19
+
20
+
We don't recommend setting a `client_max_body_size` higher than specified, because that might lead to timeouts while uploading your data to Mergin Maps.
21
+
22
+
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.
32
+
33
+
Lastly, adjust the provided nginx `docker compose` deployment file, on the following [section](https://github.com/MerginMaps/server/blob/master/docker-compose.yml#L95):
0 commit comments