Skip to content

zaldyrs/DMRsaya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sudo -i
curl --fail -L -o updatedmrid.sh https://raw.githubusercontent.com/zaldyrs/DMRsaya/main/updatedmrid.sh

rpi-rw
sudo nano /etc/nginx/sites-enabled/pi-star

server {                                                                                                                                             
        listen 80 default_server;                                                                                                                    
        root /var/www/dashboard;                                                                                                                     
                                                                                                                                                     
        location ^~ /admin {                                                                                                                         
        #       try_files $uri $uri/ =404;                                                                                                           
        #        auth_basic "Restricted";                                                                                                            
        #        auth_basic_user_file /var/www/.htpasswd;                                                                                            
                client_max_body_size 512K;                                                                                                           
                                                                                                                                                     
        # Load the defaults                                                                                                                          
        include             /etc/nginx/default.d/php.conf;                                                                                           
        }                                                                                                                                            
                                                                                                                                                     
        location ~ /\.git {                                                                                                                          
                deny all;                                                                                                                            
        }                                                                                                                                            
                                                                                                                                                     
        # Load the defaults                                                                                                                          
        include             /etc/nginx/default.d/*.conf;                                                                                             
}           
sudo systemctl restart nginx.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages