metanohi-misc-subsites/old-projects/nginx/base.conf

14 lines
353 B
Plaintext

server_name old-projects.metanohi.name www.old-projects.metanohi.name projects.metanohi.name www.projects.metanohi.name;
root /home/niels/prog/metanohi-misc-subsites/old-projects;
index index.html index.php;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
location / {
autoindex on;
}