new templates

This commit is contained in:
2023-04-10 18:51:32 -05:00
parent 8351b6f1dc
commit 82433a125c
3 changed files with 41 additions and 17 deletions

View File

@@ -1,21 +1,22 @@
server {
listen 80 proxy_protocol;
listen 80;
server_name www.schroedercity.com;
set $base /var/www/SchroederCity;
server_name <<HOSTNAME>>;
set $base <<HOSTNAME>>;
root $base/public_html;
access_log /var/log/nginx/www.schroedercity.com-access.log;
error_log /var/log/nginx/www.schroedercity.com-error.log warn;
access_log /var/log/nginx/<<HOSTNAME>>-access.log;
error_log /var/log/nginx/<<HOSTNAME>>-error.log warn;
index index.php;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
include conf.d/include/php_fastcgi.conf;
}