2018-11-24 11:00:07 +01:00
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
|
|
|
server_name avatar.example.com;
|
|
|
|
|
|
|
|
#access_log /var/log/nginx/avatar main;
|
|
|
|
error_log /var/log/nginx/avatar warn;
|
|
|
|
|
|
|
|
ssl_certificate /var/lib/dehydrated/certs/avatar.example.com/fullchain.pem;
|
|
|
|
ssl_certificate_key /var/lib/dehydrated/certs/avatar.example.com/privkey.pem;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
include /etc/nginx/fastcgi_params;
|
|
|
|
fastcgi_pass unix:/var/run/cgi-fcgiwrap.socket-1;
|
2018-11-24 11:47:43 +01:00
|
|
|
fastcgi_param SCRIPT_FILENAME /usr/bin/libravatarserv;
|
2018-11-24 11:00:07 +01:00
|
|
|
}
|
|
|
|
}
|