blob: 0cf7a1fd42b2af72a1c95b2cd1eea7dbdbd02c21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
server {
listen {{ services.http.port }};
listen [::]:{{ services.http.port }};
server_name joeac.net;
location / {
root {{ http_files_dir }}/html;
try_files $uri $uri.html $uri/index.html $uri.php $uri/index.php =404;
}
error_page 404 /error.html;
location ~ \.php$ {
root html;
fastcgi_pass unix:/run/php8.5-fpm-joeac.net-http.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/joeac.net-http/html$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.sqlite {
deny all;
}
include /etc/nginx/http.d/joeac.net.locations.d/*.conf;
}
|