0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-17 21:28:05 +02:00

Compare commits

...

2 commits

Author SHA1 Message Date
SebastianRzk
7a40fd5853
Merge fd43b6408c into 645f515e29 2025-04-18 18:01:47 +03:00
SebastianRzk
fd43b6408c allow dynamic ip resolve on php handler
Signed-off-by: SebastianRzk <github@sebastianruziczka.de>
2025-03-20 22:26:16 +01:00
4 changed files with 12 additions and 20 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;