Fixing permissions inside container

This commit is contained in:
Ric Harvey
2015-01-26 17:18:24 +00:00
parent 9477f69334
commit 2beba6f363
2 changed files with 9 additions and 6 deletions

View File

@@ -2,11 +2,11 @@ server {
listen 80; ## listen for ipv4; this line is default and implied
listen [::]:80 default ipv6only=on; ## listen for ipv6
root /usr/share/nginx/www;
index index.php index.php index.html index.htm;
root /usr/share/nginx/html;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name localhost;
#server_name localhost;
# Disable sendfile as per https://docs.vagrantup.com/v2/synced-folders/virtualbox.html
sendfile off;
@@ -23,7 +23,7 @@ server {
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/www;
root /usr/share/nginx/html;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000