use / as default homepage in package.json
This commit is contained in:
		@@ -2,12 +2,6 @@ server {
 | 
			
		||||
    listen 8080 default_server;
 | 
			
		||||
    listen [::]:8080 default_server;
 | 
			
		||||
 | 
			
		||||
    location ~ \.php$ {
 | 
			
		||||
        include snippets/fastcgi-php.conf;
 | 
			
		||||
 | 
			
		||||
        fastcgi_pass unix:/var/run/php/php-fpm.sock;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    root /var/www/openmediacenter;
 | 
			
		||||
 | 
			
		||||
    index index.html;
 | 
			
		||||
@@ -18,4 +12,10 @@ server {
 | 
			
		||||
    location / {
 | 
			
		||||
        try_files $uri /index.html;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location ~ \.php$ {
 | 
			
		||||
        include snippets/fastcgi-php.conf;
 | 
			
		||||
 | 
			
		||||
        fastcgi_pass unix:/var/run/php/php-fpm.sock;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user