libravatarserv/doc/nginx-example.conf
2018-11-24 11:47:43 +01:00

18 lines
533 B
Plaintext

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;
fastcgi_param SCRIPT_FILENAME /usr/bin/libravatarserv;
}
}