collection.dockerfile/alpine/adminer/nginx-default.conf

20 lines
461 B
Plaintext
Raw Normal View History

2022-01-17 15:56:05 +08:00
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
# You may need this to prevent return 404 recursion.
location = /404.html {
internal;
}
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_param HTTP_PROXY "";
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
}
}