We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d5bf66 commit 10962eaCopy full SHA for 10962ea
docker/nginx/conf.d/default.conf
@@ -1,12 +1,15 @@
1
server {
2
root /srv/app/public;
3
- resolver 127.0.0.11;
4
5
location / {
6
# try to serve file directly, fallback to index.php
7
try_files $uri /index.php$is_args$args;
8
}
9
location ~ ^/index\.php(/|$) {
+ #resolver 127.0.0.11;
10
+ #set $upstream_host app;
11
+ #fastcgi_pass $upstream_host:9000;
12
+ # Uncomment the previous lines and comment the next one to enable dynamic resolution (incompatible compatible with Kubernetes)
13
fastcgi_pass app:9000;
14
fastcgi_split_path_info ^(.+\.php)(/.*)$;
15
include fastcgi_params;
0 commit comments