>From a replicate perspective: This was on a EC2 t2.micro with AWS 21.2 Ubuntu Deep Learning AMI that is 16.04, then installing nginx. The error only occurred when running a python+flask+uwsgi service. e.g. a simple https/http server
server { listen 443 ssl http2; listen [::]:443 ssl http2; listen 80; server_name SERVERNAME; ssl_certificate /etc/ssl/certs/mykey.crt; ssl_certificate_key /etc/ssl/private/mykey.key; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; location / { include uwsgi_params; uwsgi_pass unix:/home/ubuntu/mywsgi_sock.sock; } } I haven't tried different releases though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1581864 Title: nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs