server { listen 80; listen [::]:80; server_name example.com; # replace with your domain access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; #client_max_body_size 100M; location / { proxy_pass http://127.0.0.1:8080; # port on host bound to actual http-server } } # if `curl -i ` shows 200 then you can use `certbot --nginx` to protect service with SSL