SSL Setup for AtoM2.5 with Nginx Web Server

Skip to first unread message


Mar 14, 2020, 6:20:28 PM3/14/20
to AtoM Users
I have setup AtoM with Nginx unde Linux - Ubuntu 18.04 

1. What are the setup required under Nginx Webserver? 

2. The installation is under AWS, can I use the cert issue by AWS or need to buy one?

David Hume

Mar 16, 2020, 6:00:54 PM3/16/20
to AtoM Users

Hi Maximilian,

You very well might be able to use the certificate issued by AWS if it is configured for your site name.

A variation that should work - similar to as described at but like this

server {

  listen 80;
return 301$request_uri;

server {
listen 443 ssl;
 root /usr/share/nginx/atom; server_name;
ssl on;
ssl_certificate /etc/ssl/private/foobar/aws-foobar.crt;
ssl_certificate_key /etc/ssl/private/foobar/aws-foobar.key;
ssl_session_timeout 5m;
ssl_session_cache shared:SSL:50m;
ssl_prefer_server_ciphers on;

 client_max_body_size 72M;

(( rest the same as outlined in the documentation ))

If the AWS certificate doesn't work out, you could buy one or set up a free one like Let's Encrypt (

Please let us all know here how it goes or if you have any more questions.


    Dave Hume, Artefactual Systems Administrator
Reply all
Reply to author
0 new messages