0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-20 18:56:09 +02:00

Compare commits

...

2 commits

Author SHA1 Message Date
SebastianRzk
0f45403afc
Merge fd43b6408c into 7da5fa1c6b 2025-04-11 01:36:49 +00: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;