rpiwebapp-public/nginx.conf
Matthew Welch c49eb99cd2 Added users and thumbnails
Added users so that the site can only be used if logged in. Thumbnails for each comic are also generated with ImageMagick.
2019-07-15 22:51:10 -07:00

12 lines
317 B
Nginx Configuration File

server_name rpi.narnian.us;
#location / { try_files $uri @rpiWebApp; }
location /static/ {
alias /usb/www/matthew/rpiWebApp/static/;
}
location / {
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_NAME "";
fastcgi_pass unix:/run/matt/rpiWebApp/fcgi.sock;
}