1
0
Fork 0
mirror of https://github.com/Luzifer/docker-php5-nginx.git synced 2024-11-08 14:10:06 +00:00
docker-php5-nginx/files/nginx.conf

21 lines
449 B
Nginx Configuration File
Raw Normal View History

2014-09-06 22:27:17 +00:00
server {
listen 80;
access_log /var/log/nginx/phpframework_app;
root /application/;
location / {
try_files $uri /index.php?$args;
}
location /index.php {
fastcgi_pass_header Authorization;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/includes/fastcgi_params.inc;
}
location ~ /\.ht {
deny all;
}
}