Jnf.me/jnf.me.sconf

25 lines
660 B
Plaintext
Raw Normal View History

2022-11-21 20:25:58 +00:00
if ($host != www.jnf.me) {
return 301 https://www.jnf.me$request_uri;
}
location / {
index index.php index.html index.htm;
2022-11-21 20:43:56 +00:00
try_files $uri /index.html;
2022-11-21 20:25:58 +00:00
}
location /lucy {
index index.php index.html index.htm;
2022-11-21 20:43:56 +00:00
try_files $uri /lucy.html;
2022-11-21 20:25:58 +00:00
}
location ~ \.php$ {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass unix:/run/php/php7.4-fpm-ptools.jaywll.co.sock;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
include /home/jason/conf/web/ptools.jaywll.co/nginx.fastcgi_cache.conf*;
}