Skip to content

zzzMaster Construction Nginx Config FIle

Jace Manshadi edited this page Nov 23, 2023 · 1 revision
    server {
        listen 80;
        server_name sfucsss.org;
    	return 301 https://$host$request_uri;
    }
    
    server {
        listen 443 ssl;
    	server_name sfucsss.org;
    
        ssl_certificate /etc/letsencrypt/live/sfucsss.org/fullchain.pem;
    	ssl_certificate_key /etc/letsencrypt/live/sfucsss.org/privkey.pem;
    	
        location = /favicon.ico { access_log off; log_not_found off; }
    	
    
    	location /Under-Construction1.jpg { 
    		root /home/csss;
    		index Under-Construction1.jpg;
    	}
    
    	location / {
	        try_files $uri /Under-Construction1.jpg;
    	}
    
    		
    }