Use separate PHP upstream for pixelfed
This commit is contained in:
parent
a887f9615b
commit
c011cc7485
@ -53,7 +53,7 @@
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_pass php;
|
||||
fastcgi_pass pixelfed;
|
||||
fastcgi_index index.php;
|
||||
}
|
||||
|
||||
@ -70,6 +70,7 @@
|
||||
- gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript
|
||||
upstream:
|
||||
- upstream php { server unix:/run/php/php7.2-fpm.sock; }
|
||||
- upstream pixelfed { server 127.0.0.1:4000; }
|
||||
ssl:
|
||||
- ssl_protocols TLSv1.2
|
||||
- ssl_dhparam "/etc/nginx/dhparams.pem"
|
||||
|
Loading…
Reference in New Issue
Block a user