nginx: unix socket
This commit is contained in:
parent
720f42e5f4
commit
5c5dc16367
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ http {
|
|||
|
||||
location /api {
|
||||
fastcgi_hide_header Access-Control-Allow-Origin;
|
||||
fastcgi_pass $php_version;
|
||||
fastcgi_pass unix:/run/user/{{.chezmoi.uid}}/$php_version-fpm/fpm.sock;
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
|
||||
fastcgi_param QUERY_STRING $query_string;
|
||||
|
|
Loading…
Add table
Reference in a new issue