Skip to content

Commit

Permalink
Better placement
Browse files Browse the repository at this point in the history
  • Loading branch information
erseco committed Nov 7, 2024
1 parent 1df6fdc commit 3d583cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rootfs/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ http {
set $forwarded_scheme "http";
if ($http_x_forwarded_proto = "https") {
set $forwarded_scheme "https";

# Include additional server-specific configurations
include /etc/nginx/server-conf.d/*.conf;
}


Expand Down Expand Up @@ -106,6 +103,10 @@ http {
include fastcgi_params;
fastcgi_pass unix:/run/php-fpm.sock;
}

# Include additional server-specific configurations
include /etc/nginx/server-conf.d/*.conf;

}

# Include other server configs
Expand Down

0 comments on commit 3d583cb

Please sign in to comment.