mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-18 09:56:09 +02:00
Merge fd43b6408c
into 3adaf30839
This commit is contained in:
commit
dcb19d94be
4 changed files with 12 additions and 20 deletions
|
@ -10,6 +10,7 @@ events {
|
|||
|
||||
|
||||
http {
|
||||
resolver 127.0.0.11 valid=1s;
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
types {
|
||||
|
@ -39,12 +40,9 @@ http {
|
|||
|
||||
#gzip on;
|
||||
|
||||
upstream php-handler {
|
||||
server app:9000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
set $php_handler app:9000;
|
||||
|
||||
# HSTS settings
|
||||
# WARNING: Only add the preload option once you read about
|
||||
|
@ -158,7 +156,7 @@ http {
|
|||
|
||||
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
||||
fastcgi_param front_controller_active true; # Enable pretty urls
|
||||
fastcgi_pass php-handler;
|
||||
fastcgi_pass $php_handler;
|
||||
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_request_buffering off;
|
||||
|
|
|
@ -10,6 +10,7 @@ events {
|
|||
|
||||
|
||||
http {
|
||||
resolver 127.0.0.11 valid=1s;
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
types {
|
||||
|
@ -39,12 +40,9 @@ http {
|
|||
|
||||
#gzip on;
|
||||
|
||||
upstream php-handler {
|
||||
server app:9000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
set $php_handler app:9000;
|
||||
|
||||
# HSTS settings
|
||||
# WARNING: Only add the preload option once you read about
|
||||
|
@ -158,7 +156,7 @@ http {
|
|||
|
||||
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
||||
fastcgi_param front_controller_active true; # Enable pretty urls
|
||||
fastcgi_pass php-handler;
|
||||
fastcgi_pass $php_handler;
|
||||
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_request_buffering off;
|
||||
|
|
|
@ -10,6 +10,7 @@ events {
|
|||
|
||||
|
||||
http {
|
||||
resolver 127.0.0.11 valid=1s;
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
types {
|
||||
|
@ -39,12 +40,9 @@ http {
|
|||
|
||||
#gzip on;
|
||||
|
||||
upstream php-handler {
|
||||
server app:9000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
set $php_handler app:9000;
|
||||
|
||||
# HSTS settings
|
||||
# WARNING: Only add the preload option once you read about
|
||||
|
@ -158,7 +156,7 @@ http {
|
|||
|
||||
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
||||
fastcgi_param front_controller_active true; # Enable pretty urls
|
||||
fastcgi_pass php-handler;
|
||||
fastcgi_pass $php_handler;
|
||||
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_request_buffering off;
|
||||
|
|
|
@ -10,6 +10,7 @@ events {
|
|||
|
||||
|
||||
http {
|
||||
resolver 127.0.0.11 valid=1s;
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
types {
|
||||
|
@ -39,12 +40,9 @@ http {
|
|||
|
||||
#gzip on;
|
||||
|
||||
upstream php-handler {
|
||||
server app:9000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
set $php_handler app:9000;
|
||||
|
||||
# HSTS settings
|
||||
# WARNING: Only add the preload option once you read about
|
||||
|
@ -158,7 +156,7 @@ http {
|
|||
|
||||
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
|
||||
fastcgi_param front_controller_active true; # Enable pretty urls
|
||||
fastcgi_pass php-handler;
|
||||
fastcgi_pass $php_handler;
|
||||
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_request_buffering off;
|
||||
|
|
Loading…
Add table
Reference in a new issue