Skip to content

Commit

Permalink
Update live conf for php8.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
tchalvak committed Sep 25, 2023
1 parent 26e4231 commit 0efd772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/conf/zz-ninjawars-net.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ server {
location ~ \.php$ {
# fastcgi param stuff now set by [HOST=] sections in php.ini.
#fastcgi_param PHP_VALUE "session.cookie_domain=www.ninjawars.net \n date.timezone=America/New_York \n default_charset=UTF-8 \n";
fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/front-controller.php;
include fastcgi_params;
}

location @php {
# fastcgi param stuff now set by [HOST=] sections in php.ini.
#fastcgi_param PHP_VALUE "session.cookie_domain=www.ninjawars.net \n date.timezone=America/New_York \n default_charset=UTF-8 \n";
fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/front-controller.php;
include fastcgi_params;
}
Expand Down

0 comments on commit 0efd772

Please sign in to comment.