LibreY/docker/server/nginx.conf

18 lines
357 B
Nginx Configuration File
Raw Normal View History

server {
listen 80;
server_name ${OPEN_SEARCH_HOST} localhost;
root /var/www/html;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
}