Skip to content

Commit

Permalink
Merge pull request #11287 from nextcloud/fix/nginx-fpm
Browse files Browse the repository at this point in the history
Update NGINX example to the recommended PHP version
  • Loading branch information
joshtrichards authored Nov 22, 2023
2 parents 1fe7fa9 + 8460585 commit 371e737
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions admin_manual/installation/nginx-root.conf.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
upstream php-handler {
server 127.0.0.1:9000;
#server unix:/var/run/php/php7.4-fpm.sock;
#server unix:/run/php/php8.2-fpm.sock;
}

# Set the `immutable` cache control options only for assets with a cache busting `v` argument
Expand Down Expand Up @@ -63,9 +63,9 @@ server {
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;

# The settings allows you to optimize the HTTP2 bandwitdth.
# The settings allows you to optimize the HTTP2 bandwidth.
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
# for tunning hints
# for tuning hints
client_body_buffer_size 512k;

# HTTP response headers borrowed from Nextcloud `.htaccess`
Expand Down
6 changes: 3 additions & 3 deletions admin_manual/installation/nginx-subdir.conf.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
upstream php-handler {
server 127.0.0.1:9000;
#server unix:/var/run/php/php7.4-fpm.sock;
#server unix:/run/php/php8.2-fpm.sock;
}

# Set the `immutable` cache control options only for assets with a cache busting `v` argument
Expand Down Expand Up @@ -87,9 +87,9 @@ server {
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;

# The settings allows you to optimize the HTTP2 bandwitdth.
# The settings allows you to optimize the HTTP2 bandwidth.
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
# for tunning hints
# for tuning hints
client_body_buffer_size 512k;

# HSTS settings
Expand Down

0 comments on commit 371e737

Please sign in to comment.